Skip to content

Commit 5348fa9

Browse files
committed
#3850 - JS an CSS enqueuing dix when embedding Redux
Signed-off-by: Kevin Provance <[email protected]>
1 parent 52e4732 commit 5348fa9

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

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

3+
## 4.3.3.1
4+
* Fixed: CSS and JS not loading when embedding Redux due to malformed path.
5+
36
## 4.3.3
47
* Modified: Move template libraries to redux-core directory.
58
* Modified: Update to the Extendify template library.

redux-core/framework.php

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

3030
require_once dirname( __FILE__ ) . '/class-redux-core.php';
3131

32-
Redux_Core::$version = '4.3.3';
32+
Redux_Core::$version = '4.3.3.1';
3333
Redux_Core::$redux_path = dirname( __FILE__ );
3434
Redux_Core::instance();
3535

redux-core/inc/classes/class-redux-functions-ex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public static function is_inside_theme( string $file = '' ) {
301301
$theme_paths = array_unique( $theme_paths );
302302
$file_path = self::wp_normalize_path( $file );
303303

304-
$filename = explode( '\\', $file );
304+
$filename = explode( DIRECTORY_SEPARATOR, $file );
305305

306306
end( $filename );
307307

redux-framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plugin URI: http://wordpress.org/plugins/redux-framework
99
* GitHub URI: reduxframework/redux-framework
1010
* Description: Build better sites in WordPress fast!
11-
* Version: 4.3.3
11+
* Version: 4.3.3.1
1212
* Requires at least: 4.0
1313
* Requires PHP: 7.1
1414
* Author: Extendify

0 commit comments

Comments
 (0)