Пример #1
0
	Plugin Name: Installer
	Plugin URI: http://wp-compatibility.com/installer-plugin/
	Description: Need help buying, installing and upgrading commercial themes and plugins? **Installer** handles all this for you, right from the WordPress admin. Installer lets you find themes and plugins from different sources, then, buy them from within the WordPress admin. Instead of manually uploading and unpacking, you'll see those themes and plugins available, just like any other plugin you're getting from WordPress.org.
	Version: 0.5
	Author: OnTheGoSystems Inc.	 
	Author URI: http://www.onthegosystems.com/
*/
define('WPRC_VERSION', '0.5');
// <<<<<<<<<<<< includes -------------------------------------------------
require_once dirname(__FILE__) . '/wprc-config.php';
require_once WPRC_PLUGIN_PATH . '/wprc-loader.php';
// define plugin name (path)
define('WPRC_PLUGIN_NAME', WPRC_PLUGIN_FOLDER . '/' . basename(__FILE__));
define('WPRC_PLUGIN_BASENAME', plugin_basename(__FILE__));
define('WPRC_DB_VERSION', '0.4.1');
WPRC_Loader::includeRepositoryClient();
WPRC_Loader::includeAdminNotifier();
//WPRC_Loader::includeSecurity();
WPRC_Loader::includePluginFile('wprc-functions.php');
$wprc_rc = 'WPRC_Installer';
$wprc_an = 'WPRC_AdminNotifier';
// >>>>>>>>>>>> -----------------------------------------------------------
// <<<<<<<<<<<< functions -------------------------------------------------
/**
 * Initialize plugin enviroment
 */
add_action('init', array($wprc_rc, 'init'));
add_action('init', array($wprc_an, 'init'));
/**
* Print language texts for javascript
*/