Skip to content
Snippets Groups Projects
Commit 747fb9fd authored by Mohammad Jangda's avatar Mohammad Jangda
Browse files

Load wpcom helper based on a filter

parent 14d3f2a3
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ License: GPLv2 or later ...@@ -13,7 +13,7 @@ License: GPLv2 or later
**************************************************************************/ **************************************************************************/
require_once ( dirname( __FILE__ ) . '/includes/class-wp-push-syndication-server.php' ); 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' ); require_once ( dirname( __FILE__ ) . '/includes/class-wpcom-push-syndication-server.php' );
if ( !defined( 'PUSH_SYNDICATION_ENVIRONMENT' ) ) if ( !defined( 'PUSH_SYNDICATION_ENVIRONMENT' ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment