PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / trunk
MainWP Dashboard: Self-hosted WordPress Management for Agencies vtrunk
6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 5.2.2 5.3 All 153 releases
← All changes | cron/bootstrap.php +9 -1 5.2trunk View file →
@@ -8,9 +8,17 @@
8 8 *
9 9 * @package MainWP/Bootstrap
10 10 */
11 11
12 -// phpcs:disable -- required to support custom wp-config.php file location
12 +// phpcs:disable WordPress.Security.PluginSecurity.MissingDirectFileAccessProtection
13 +
14 +/**
15 + * This file must execute before WordPress loads to locate wp-load.php,
16 + * so the standard ABSPATH check would break functionality.
17 + *
18 + * Do not prevent direct access ! defined( 'ABSPATH' ) exit
19 + * to support custom wp-config.php file location, but do prevent direct access if WP is not loaded.
20 + */
13 21
14 22 // set php.ini variables.
15 23 @ignore_user_abort( true );
16 24 if ( false !== strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) ) {