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 */ add_action('wp_print_scripts', array($wprc_rc, 'printJsLanguage')); /** * Add plugin menu items