%s

', esc_html__( 'Feature Request System needs PHP 7.4 or later and WordPress 6.6 or later, so it is not running. Update PHP or WordPress to use it.', 'feature-request-system' ) ); } } ); return; } if ( ! is_readable( __DIR__ . '/vendor/autoload.php' ) || ! is_readable( __DIR__ . '/vendor/woocommerce/action-scheduler/action-scheduler.php' ) ) { add_action( 'admin_notices', static function () { if ( current_user_can( 'activate_plugins' ) ) { printf( '

%s

', esc_html__( 'Feature Request System is missing its vendor folder, so it is not running. Run composer install, or reinstall the plugin from WordPress.org.', 'feature-request-system' ) ); } } ); return; } require_once __DIR__ . '/vendor/autoload.php'; // Action Scheduler sends the emails to a request's followers in the background. Many plugins // bring a copy. Each copy must be loaded before plugins_loaded, and the newest one then runs. require_once __DIR__ . '/vendor/woocommerce/action-scheduler/action-scheduler.php'; FeatureRequestSystem\Plugin::boot( __FILE__ );