Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions projects/packages/blaze/changelog/rm-blaze-json-api-gate
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Do not require Jetpack's JSON API module to use feature.
2 changes: 1 addition & 1 deletion projects/packages/blaze/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 1 addition & 7 deletions projects/packages/blaze/src/class-blaze.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down