Redux Framework - Version 4.2.9

Version Description

Fixed: WordPress data class now works properly.

Download this release

Release Info

Developer dovyp
Plugin Icon 128x128 Redux Framework
Version 4.2.9
Comparing to
See all releases

Code changes from version 4.2.8 to 4.2.9

readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, blocks, gutenberg blocks, editor, block, page builder, block ed
4
  Requires at least: 4.0
5
  Requires PHP: 7.1
6
  Tested up to: 5.8
7
- Stable tag: 4.2.8
8
  License: GPL-3.0+
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -152,6 +152,9 @@ If you want, you can use the [Gutenberg](https://wordpress.org/plugins/gutenberg
152
 
153
  == Changelog ==
154
 
 
 
 
155
  = 4.2.8 =
156
  Redux instances returning null. Saved options now show on the front end.
157
 
4
  Requires at least: 4.0
5
  Requires PHP: 7.1
6
  Tested up to: 5.8
7
+ Stable tag: 4.2.9
8
  License: GPL-3.0+
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
 
152
 
153
  == Changelog ==
154
 
155
+ = 4.2.9 =
156
+ Fixed: WordPress data class now works properly.
157
+
158
  = 4.2.8 =
159
  Redux instances returning null. Saved options now show on the front end.
160
 
redux-core/framework.php CHANGED
@@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
23
 
24
  require_once dirname( __FILE__ ) . '/class-redux-core.php';
25
 
26
- Redux_Core::$version = '4.2.8';
27
  Redux_Core::$redux_path = dirname( __FILE__ );
28
  Redux_Core::instance();
29
 
23
 
24
  require_once dirname( __FILE__ ) . '/class-redux-core.php';
25
 
26
+ Redux_Core::$version = '4.2.9';
27
  Redux_Core::$redux_path = dirname( __FILE__ );
28
  Redux_Core::instance();
29
 
redux-core/inc/classes/class-redux-wordpress-data.php CHANGED
@@ -557,13 +557,13 @@ if ( ! class_exists( 'Redux_WordPress_Data', false ) ) {
557
  /**
558
  * Set the default arguments for a current query (existing data).
559
  *
560
- * @param string $type Type of data request.
561
- * @param array $args Arguments for the call.
562
- * @param mixed|array $current_value Current value stored in DB.
563
  *
564
  * @return array
565
  */
566
- private function get_current_data_args( string $type, array $args, $current_value ): array {
567
  // In this section we set the default arguments for each data type.
568
  switch ( $type ) {
569
  case 'categories':
557
  /**
558
  * Set the default arguments for a current query (existing data).
559
  *
560
+ * @param string $type Type of data request.
561
+ * @param array|string $args Arguments for the call.
562
+ * @param mixed|array $current_value Current value stored in DB.
563
  *
564
  * @return array
565
  */
566
+ private function get_current_data_args( string $type, $args, $current_value ): array {
567
  // In this section we set the default arguments for each data type.
568
  switch ( $type ) {
569
  case 'categories':
redux-framework.php CHANGED
@@ -10,7 +10,7 @@
10
  * Description: Build better sites in WordPress fast
11
  * Author: Redux.io
12
  * Author URI: http://redux.io
13
- * Version: 4.2.8
14
  * Text Domain: redux-framework
15
  * License: GPLv3 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
  * Description: Build better sites in WordPress fast
11
  * Author: Redux.io
12
  * Author URI: http://redux.io
13
+ * Version: 4.2.9
14
  * Text Domain: redux-framework
15
  * License: GPLv3 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt