Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
Check if branch arg is set for gutenpack feature before evaluating it (
Browse files Browse the repository at this point in the history
…#153)

* Check if branch arg is set for gutenpack feature

* Bump version to 4.7.1
  • Loading branch information
oskosk authored Dec 10, 2018
1 parent d81df1f commit 5f9467e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/gutenpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// or a new branch derived from latest `master`.
// https://github.com/Automattic/jetpack/pull/10154
$features['jetpack-beta'] = true;
$features['branch'] = $json_params['branch'] ? $json_params['branch'] : 'master';
$features['branch'] = ( isset( $json_params['branch'] ) && $json_params['branch'] ) ? $json_params['branch'] : 'master';
// Also, force regular jetpack out of the equation
$features['jetpack'] = false;
}
Expand Down
2 changes: 1 addition & 1 deletion jurassic.ninja.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
* Plugin Name: Jurassic Ninja
* Description: Launch ephemeral instances of WordPress + Jetpack using ServerPilot and an Ubuntu Box.
* Version: 4.7
* Version: 4.7.1
* Author: Automattic
**/

Expand Down

0 comments on commit 5f9467e

Please sign in to comment.