/**
  * Bootstrap this plugin
  */
 public static function bootstrap($file)
 {
     self::$file = $file;
     // Actions
     add_action('init', array(__CLASS__, 'init'));
     add_action('wp_head', array(__CLASS__, 'wp_head'));
     add_action('wp_footer', array(__CLASS__, 'wp_footer'));
     add_action('admin_init', array(__CLASS__, 'admin_init'));
     add_action('admin_menu', array(__CLASS__, 'admin_menu'));
     add_action('admin_enqueue_scripts', array(__CLASS__, 'admin_enqueue_scripts'));
     add_action('widgets_init', array(__CLASS__, 'widgets_init'));
     add_action('template_redirect', array(__CLASS__, 'maybe_logout'));
     add_action('comment_form_before', array(__CLASS__, 'show_comment_form_before_text'));
 }
<?php

/*
Plugin Name: Pronamic Framework
Plugin URI: http://pronamic.eu/wordpress/framework/
Description: This plugin contains some handy WordPress functions and extends the WordPress admin interface with some nice functions, widgets and more.
Version: 1.4.7
Requires at least: 3.0
Author: Pronamic
Author URI: http://pronamic.eu/
License: GPL
*/
require_once 'classes/Pronamic_Block_Widget.php';
require_once 'classes/Pronamic_Framework.php';
require_once 'shortcodes/shortcode-login-form.php';
require_once 'shortcodes/shortcode-lostpassword-form.php';
require_once 'shortcodes/shortcode-current-user-posts.php';
require_once 'shortcodes/shortcode-edit-post-form.php';
require_once 'shortcodes/shortcode-terms-index.php';
require_once 'functions/link-template.php';
require_once 'functions/media-select.php';
require_once 'functions/user-image-template.php';
require_once 'functions/user-image.php';
require_once 'includes/settings-fields.php';
global $ponamic_framework_plugin;
$ponamic_framework_plugin = new Pronamic_Framework(__FILE__);
Pronamic_Framework::bootstrap(__FILE__);