. * * @package Additional Content * @category Core * @author Kees Meijer * @version 1.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // This file should be PHP 5.2 save // Plugin version. if ( ! defined( 'ADDITIONAL_CONTENT_VERSION' ) ) { define( 'ADDITIONAL_CONTENT_VERSION', '1.3.0' ); } // Plugin Folder Path. if ( ! defined( 'ADDITIONAL_CONTENT_PLUGIN_DIR' ) ) { define( 'ADDITIONAL_CONTENT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); } // Plugin Folder URL. if ( ! defined( 'ADDITIONAL_CONTENT_PLUGIN_URL' ) ) { define( 'ADDITIONAL_CONTENT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); } // Plugin Root File. if ( ! defined( 'ADDITIONAL_CONTENT_PLUGIN_FILE' ) ) { define( 'ADDITIONAL_CONTENT_PLUGIN_FILE', __FILE__ ); } // Need to require the class for PHP 5.2 // No autoloading available. require ADDITIONAL_CONTENT_PLUGIN_DIR . 'includes/class-update-php.php'; // Aim high :) $updatePhp = new Additional_Content_Update_Php( '5.4.0' ); if ( $updatePhp->does_it_meet_required_php_version( PHP_VERSION ) ) { // Get Additional Content Running. require ADDITIONAL_CONTENT_PLUGIN_DIR . 'includes/install.php'; }