diff --git a/projects/packages/blaze/changelog/rm-blaze-json-api-gate b/projects/packages/blaze/changelog/rm-blaze-json-api-gate new file mode 100644 index 000000000000..8ad1a74aa177 --- /dev/null +++ b/projects/packages/blaze/changelog/rm-blaze-json-api-gate @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Do not require Jetpack's JSON API module to use feature. diff --git a/projects/packages/blaze/package.json b/projects/packages/blaze/package.json index 725977e53ff8..07c2fc859388 100644 --- a/projects/packages/blaze/package.json +++ b/projects/packages/blaze/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-blaze", - "version": "0.5.0", + "version": "0.5.1-alpha", "description": "Attract high-quality traffic to your site using Blaze. Using this service, you can advertise a post or page on some of the millions of pages across WordPress.com and Tumblr from just $5 per day.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/blaze/#readme", "bugs": { diff --git a/projects/packages/blaze/src/class-blaze.php b/projects/packages/blaze/src/class-blaze.php index 485393fe5966..4ffebf936dae 100644 --- a/projects/packages/blaze/src/class-blaze.php +++ b/projects/packages/blaze/src/class-blaze.php @@ -17,7 +17,7 @@ */ class Blaze { - const PACKAGE_VERSION = '0.5.0'; + const PACKAGE_VERSION = '0.5.1-alpha'; /** * Script handle for the JS file we enqueue in the post editor. @@ -138,12 +138,6 @@ public static function should_initialize() { if ( ! Sync_Settings::is_sync_enabled() ) { $should_initialize = false; } - - // The feature relies on this module for now. - // See 1386-gh-dotcom-forge - if ( ! ( new Modules() )->is_active( 'json-api' ) ) { - $should_initialize = false; - } } // Check if the site supports Blaze.