Redux Framework - Version 4.0.7

Version Description

Download this release

Release Info

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

Code changes from version 4.0.6 to 4.0.7

composer.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "reduxframework/redux-framework-4",
3
- "version": "4.0.5",
4
  "authors": [
5
  {
6
  "name": "Redux.io",
1
  {
2
  "name": "reduxframework/redux-framework-4",
3
+ "version": "4.0.7",
4
  "authors": [
5
  {
6
  "name": "Redux.io",
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: admin, admin interface, options, theme options, plugin options, options fr
5
  Requires at least: 4.0
6
  Requires PHP: 5.3
7
  Tested up to: 5.5
8
- Stable tag: 4.0.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
5
  Requires at least: 4.0
6
  Requires PHP: 5.3
7
  Tested up to: 5.5
8
+ Stable tag: 4.0.7
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
redux-core/appsero/Insights.php CHANGED
@@ -549,7 +549,7 @@ class Insights {
549
  private function get_all_plugins() {
550
  // Ensure get_plugins function is loaded
551
  if ( ! function_exists( 'get_plugins' ) ) {
552
- include ABSPATH . '/wp-admin/includes/plugin.php';
553
  }
554
 
555
  $plugins = get_plugins();
549
  private function get_all_plugins() {
550
  // Ensure get_plugins function is loaded
551
  if ( ! function_exists( 'get_plugins' ) ) {
552
+ require_once ABSPATH . '/wp-admin/includes/plugin.php';
553
  }
554
 
555
  $plugins = get_plugins();
redux-core/class-redux-core.php CHANGED
@@ -376,7 +376,7 @@ if ( ! class_exists( 'Redux_Core', false ) ) {
376
  }
377
 
378
  if ( file_exists( $class_path ) ) {
379
- include $class_path;
380
  }
381
  }
382
 
376
  }
377
 
378
  if ( file_exists( $class_path ) ) {
379
+ require_once $class_path;
380
  }
381
  }
382
 
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.0.6';
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.0.7';
27
  Redux_Core::$redux_path = dirname( __FILE__ );
28
  Redux_Core::instance();
29
 
redux-core/inc/classes/class-redux-extensions.php CHANGED
@@ -48,8 +48,6 @@ if ( ! class_exists( 'Redux_Extensions', false ) ) {
48
  // phpcs:ignore WordPress.NamingConventions.ValidHookName
49
  $path = apply_filters( 'redux/' . $core->args['opt_name'] . '/extensions/dir', $path );
50
 
51
- $folders = scandir( $path, 1 );
52
-
53
  /**
54
  * Action 'redux/extensions/before'
55
  *
48
  // phpcs:ignore WordPress.NamingConventions.ValidHookName
49
  $path = apply_filters( 'redux/' . $core->args['opt_name'] . '/extensions/dir', $path );
50
 
 
 
51
  /**
52
  * Action 'redux/extensions/before'
53
  *
redux-core/inc/classes/class-redux-filesystem.php CHANGED
@@ -612,7 +612,7 @@ if ( ! class_exists( 'Redux_Filesystem', false ) ) {
612
  */
613
  public function get_local_file_contents( $abs_path ) {
614
  ob_start();
615
- include $abs_path;
616
  $contents = ob_get_clean();
617
 
618
  return $contents;
612
  */
613
  public function get_local_file_contents( $abs_path ) {
614
  ob_start();
615
+ require_once $abs_path;
616
  $contents = ob_get_clean();
617
 
618
  return $contents;
redux-framework.php CHANGED
@@ -10,7 +10,7 @@
10
  * Description: Build better sites in WordPress fast
11
  * Author: Redux.io + Dovy Paukstys
12
  * Author URI: http://redux.io
13
- * Version: 4.0.6
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 + Dovy Paukstys
12
  * Author URI: http://redux.io
13
+ * Version: 4.0.7
14
  * Text Domain: redux-framework
15
  * License: GPLv3 or later
16
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt