Redux Framework - Version 4.3.1

Version Description

Fixed: wp_mail has been declared by another process or plugin message. Fixed: Malformed README wouldn't allow clicking of some support links. Release date: September 22, 2021

Download this release

Release Info

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

Code changes from version 4.3.0 to 4.3.1

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.1
7
- Stable tag: 4.3.0
8
  License: GPL-3.0+
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -68,7 +68,7 @@ You can also contribute code via our <a href="https://github.com/reduxframework/
68
  <h4>📝 Documentation and Support</h4>
69
  <ul>
70
  <li>For more information about the Template Library, check out <a href="https://extendify.com/" rel="nofollow ugc">Extendify</a>.</li>
71
- <li>For information about the Redux Options Framework, check out <a href="https://devs.redux.io/” rel=”nofollow ugc”>Redux Documentation</a>.</li>
72
  <li>If you have additional questions, reach out to us at support@redux.io</li>
73
  </ul>
74
 
@@ -108,6 +108,11 @@ If you want, you can use the [Gutenberg](https://wordpress.org/plugins/gutenberg
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
111
  = 4.3.0 =
112
  Added: Gutenberg Template Library updated to the new Extendify library. See more information here about this upgrade and how to access the legacy library: [https://redux.io/gutenberg-template-library-upgrade](https://redux.io/gutenberg-template-library-upgrade).
113
  Added: Option to enable/disable Template libraries. Found under Settings > Redux > Templates
4
  Requires at least: 4.0
5
  Requires PHP: 7.1
6
  Tested up to: 5.8.1
7
+ Stable tag: 4.3.1
8
  License: GPL-3.0+
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.txt
10
 
68
  <h4>📝 Documentation and Support</h4>
69
  <ul>
70
  <li>For more information about the Template Library, check out <a href="https://extendify.com/" rel="nofollow ugc">Extendify</a>.</li>
71
+ <li>For information about the Redux Options Framework, check out <a href="https://devs.redux.io/" rel="nofollow ugc">Redux Documentation</a>.</li>
72
  <li>If you have additional questions, reach out to us at support@redux.io</li>
73
  </ul>
74
 
108
 
109
  == Changelog ==
110
 
111
+ = 4.3.1 =
112
+ Fixed: `wp_mail has been declared by another process or plugin` message.
113
+ Fixed: Malformed README wouldn't allow clicking of some support links.
114
+ Release date: September 22, 2021
115
+
116
  = 4.3.0 =
117
  Added: Gutenberg Template Library updated to the new Extendify library. See more information here about this upgrade and how to access the legacy library: [https://redux.io/gutenberg-template-library-upgrade](https://redux.io/gutenberg-template-library-upgrade).
118
  Added: Option to enable/disable Template libraries. Found under Settings > Redux > Templates
redux-core/class-redux-core.php CHANGED
@@ -183,11 +183,20 @@ if ( ! class_exists( 'Redux_Core', false ) ) {
183
  self::$instance->includes();
184
  self::$instance->init();
185
  self::$instance->hooks();
 
 
186
  }
187
 
188
  return self::$instance;
189
  }
190
 
 
 
 
 
 
 
 
191
  /**
192
  * Class init.
193
  */
@@ -322,8 +331,6 @@ if ( ! class_exists( 'Redux_Core', false ) ) {
322
 
323
  self::$redux_templates_enabled = (bool) get_option( 'use_redux_templates' );
324
  self::$extendify_templates_enabled = (bool) get_option( 'use_extendify_templates', true );
325
-
326
- Redux_Functions_Ex::pro_to_ext();
327
  }
328
 
329
  /**
183
  self::$instance->includes();
184
  self::$instance->init();
185
  self::$instance->hooks();
186
+
187
+ add_action( 'plugins_loaded', array( 'Redux_Core', 'plugins_loaded' ) );
188
  }
189
 
190
  return self::$instance;
191
  }
192
 
193
+ /**
194
+ * Things to run after pluggable.php had loaded.
195
+ */
196
+ public static function plugins_loaded() {
197
+ Redux_Functions_Ex::pro_to_ext();
198
+ }
199
+
200
  /**
201
  * Class init.
202
  */
331
 
332
  self::$redux_templates_enabled = (bool) get_option( 'use_redux_templates' );
333
  self::$extendify_templates_enabled = (bool) get_option( 'use_extendify_templates', true );
 
 
334
  }
335
 
336
  /**
redux-core/framework.php CHANGED
@@ -29,7 +29,7 @@ defined( 'ABSPATH' ) || exit;
29
 
30
  require_once dirname( __FILE__ ) . '/class-redux-core.php';
31
 
32
- Redux_Core::$version = '4.3.0';
33
  Redux_Core::$redux_path = dirname( __FILE__ );
34
  Redux_Core::instance();
35
 
29
 
30
  require_once dirname( __FILE__ ) . '/class-redux-core.php';
31
 
32
+ Redux_Core::$version = '4.3.1';
33
  Redux_Core::$redux_path = dirname( __FILE__ );
34
  Redux_Core::instance();
35
 
redux-core/inc/classes/class-redux-functions-ex.php CHANGED
@@ -583,10 +583,6 @@ if ( ! class_exists( 'Redux_Functions_Ex', false ) ) {
583
  public static function pro_to_ext() {
584
 
585
  // If they are a pro user, convert their key to use with Extendify.
586
- if ( ! function_exists( 'get_userdata' ) ) {
587
- require_once ABSPATH . '/wp-includes/pluggable.php';
588
- }
589
-
590
  $redux_pro_key = get_option( 'redux_pro_license_key' );
591
 
592
  if ( $redux_pro_key && ! get_user_option( 'extendifysdk_redux_key_moved' ) ) {
583
  public static function pro_to_ext() {
584
 
585
  // If they are a pro user, convert their key to use with Extendify.
 
 
 
 
586
  $redux_pro_key = get_option( 'redux_pro_license_key' );
587
 
588
  if ( $redux_pro_key && ! get_user_option( 'extendifysdk_redux_key_moved' ) ) {
redux-framework.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin URI: http://wordpress.org/plugins/redux-framework
9
  * GitHub URI: reduxframework/redux-framework
10
  * Description: Build better sites in WordPress fast!
11
- * Version: 4.3.0
12
  * Requires at least: 4.0
13
  * Requires PHP: 7.1
14
  * Author: Extendify
8
  * Plugin URI: http://wordpress.org/plugins/redux-framework
9
  * GitHub URI: reduxframework/redux-framework
10
  * Description: Build better sites in WordPress fast!
11
+ * Version: 4.3.1
12
  * Requires at least: 4.0
13
  * Requires PHP: 7.1
14
  * Author: Extendify