'; // translators: Dependency waring echo sprintf( __( 'ā€œ%1$sā€ requires PHP %2$s (or newer) and WordPress %3$s (or newer) to function properly. Your site is using PHP %4$s and WordPress %5$s. Please upgrade. The plugin has been automatically deactivated.', 'awpp' ), 'Advanced WPPerformance', '5.3', '4.7', PHP_VERSION, $GLOBALS['wp_version'] ); echo '

'; if ( isset( $_GET['activate'] ) ) { unset( $_GET['activate'] ); } } add_action( 'admin_notices', 'awpp_compatability_warning' ); function awpp_deactivate_self() { deactivate_plugins( plugin_basename( __FILE__ ) ); } add_action( 'admin_init', 'awpp_deactivate_self' ); return; } else { require_once 'inc/funcs.php'; require_once 'Classes/class-plugin.php'; function awpp_get_instance() { return nicomartin\AdvancedWPPerformance\Plugin::get_instance( __FILE__ ); } awpp_get_instance(); require_once 'Classes/Libs/class-htaccess.php'; awpp_get_instance()->htaccess = new nicomartin\Htaccess( 'Advanced WPPerformance' ); require_once 'Classes/class-init.php'; awpp_get_instance()->Init = new nicomartin\AdvancedWPPerformance\Init(); awpp_get_instance()->Init->run(); require_once 'Classes/class-settings.php'; awpp_get_instance()->Settings = new nicomartin\AdvancedWPPerformance\Settings(); awpp_get_instance()->Settings->run(); require_once 'Classes/class-handleenqueue.php'; awpp_get_instance()->HandleEnqueue = new nicomartin\AdvancedWPPerformance\HandleEnqueue(); awpp_get_instance()->HandleEnqueue->run(); require_once 'Classes/class-minify.php'; awpp_get_instance()->Minify = new nicomartin\AdvancedWPPerformance\Minify(); awpp_get_instance()->Minify->run(); require_once 'Classes/class-criticalcss.php'; awpp_get_instance()->CriticalCSS = new nicomartin\AdvancedWPPerformance\CriticalCSS(); awpp_get_instance()->CriticalCSS->run(); require_once 'Classes/class-http2push.php'; awpp_get_instance()->Http2Push = new nicomartin\AdvancedWPPerformance\Http2Push(); awpp_get_instance()->Http2Push->run(); } // End if().