diff --git a/push-syndication.php b/push-syndication.php index 16b9cdc0b6eec4b478a954a3c2f78be7150ae585..f709836d85d74975cf6cc5ae4f2cb3913dc5b0d5 100644 --- a/push-syndication.php +++ b/push-syndication.php @@ -13,7 +13,7 @@ License: GPLv2 or later **************************************************************************/ require_once ( dirname( __FILE__ ) . '/includes/class-wp-push-syndication-server.php' ); -if( file_exists( dirname( __FILE__ ) . '/includes/class-wpcom-push-syndication-server.php' ) ) +if( apply_filters( 'syn_use_async_jobs', false ) ) require_once ( dirname( __FILE__ ) . '/includes/class-wpcom-push-syndication-server.php' ); if ( !defined( 'PUSH_SYNDICATION_ENVIRONMENT' ) )