Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit cdfd862

Browse files
committed
4.1.17
1 parent 4adcb1d commit cdfd862

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Redux Changelog
22

3+
## 4.1.17
4+
* Fixed: Edge case where enable Gutenberg notice doesn't disappear.
5+
* Release date: Aug 27, 2020
6+
37
## 4.1.16
48
* Fixed: Issue when null values were sent to Redux::set();
59
* Fixed: Default for Google fonts is now swap.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reduxframework/redux-framework-4",
3-
"version": "4.1.15",
3+
"version": "4.1.17",
44
"authors": [
55
{
66
"name": "Redux.io",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "gulpfile.js",
44
"name": "redux",
55
"author": "Redux.io + Dōvy Paukstys",
6-
"version": "4.1.15",
6+
"version": "4.1.17",
77
"license": "GPL-3.0-or-later",
88
"repository": {
99
"type": "git",

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: gutenberg, blocks, gutenberg blocks, editor, block, page builder, block ed
55
Requires at least: 4.0
66
Requires PHP: 5.3
77
Tested up to: 5.5
8-
Stable tag: 4.1.16
8+
Stable tag: 4.1.17
99
License: GPL-2.0+
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1111

@@ -152,6 +152,9 @@ If you want, you can use the [Gutenberg](https://wordpress.org/plugins/gutenberg
152152

153153
== Changelog ==
154154

155+
= 4.1.17 =
156+
* Fixed: Edge case where enable Gutenberg notice doesn't disappear. Sorry everyone!
157+
155158
= 4.1.16 =
156159
* Fixed: Issue when null values were sent to Redux::set();
157160
* Fixed: Default for Google fonts is now swap.

redux-core/framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
require_once dirname( __FILE__ ) . '/class-redux-core.php';
2525

26-
Redux_Core::$version = '4.1.16';
26+
Redux_Core::$version = '4.1.17';
2727
Redux_Core::$redux_path = dirname( __FILE__ );
2828
Redux_Core::instance();
2929

redux-core/inc/classes/class-redux-enable-gutenberg.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function __construct( $args = array() ) {
112112
$this->autoenable_option = $this->slug . '-force-enable';
113113
$this->decativate_option = $this->slug . '-deactivate-plugins';
114114

115-
if ( is_admin() && ! self::$is_disabled && ( 'post-new.php' === $pagenow || 'post.php' === $pagenow ) ) {
115+
if ( is_admin() && ! self::$is_disabled && ( 'post-new.php' === $pagenow || 'post.php' === $pagenow ) && ! get_site_option( $this->nobug_option, false ) ) {
116116
// We only want to do this for posts or pages.
117117
if ( ! isset( $_GET['post_type'] ) || ( isset( $_GET['post_type'] ) && 'page' === $_GET['post_type'] ) ) { // phpcs:ignore
118118
add_action( 'init', array( $this, 'check_init' ), 998 );
@@ -370,7 +370,6 @@ public function run_user_actions() {
370370

371371
if ( isset( $_GET[ $this->nobug_option ] ) ) { // User doesn't want to see this anymore.
372372
add_site_option( $this->nobug_option, true );
373-
return; // No need to redirect.
374373
} elseif ( isset( $_GET[ $this->autoenable_option ] ) ) { // User has opted to just auto-enable Gutenberg.
375374
unset( $_GET[ $this->autoenable_option ] );
376375
add_site_option( $this->autoenable_option, true );

redux-framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Description: Build better sites in WordPress fast
1111
* Author: Redux.io + Dovy Paukstys
1212
* Author URI: http://redux.io
13-
* Version: 4.1.16
13+
* Version: 4.1.17
1414
* Text Domain: redux-framework
1515
* License: GPLv3 or later
1616
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt

0 commit comments

Comments
 (0)