diff --git a/wp-config-pantheon.php b/wp-config-pantheon.php index ffe2174534..c611f039ab 100644 --- a/wp-config-pantheon.php +++ b/wp-config-pantheon.php @@ -96,6 +96,7 @@ */ /** Disable wp-cron.php from running on every page load and rely on Pantheon to run cron via wp-cli */ -if ( ! defined( 'DISABLE_WP_CRON' ) ) { +$network = isset($_ENV["FRAMEWORK"]) && $_ENV["FRAMEWORK"] === "wordpress_network"; +if ( ! defined( 'DISABLE_WP_CRON' ) && $network === false) { define( 'DISABLE_WP_CRON', true ); }