Skip to content

Commit 2b35eb0

Browse files
committed
#3909 - Blank template causes fatal error.
Signed-off-by: Kev Provance <[email protected]>
1 parent 6d2a798 commit 2b35eb0

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
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.18.1
4+
* Fixed: #3909 - Blank page template would cause fatal error.
5+
36
## 4.3.18
47
* New: #3903 - Typography `weights` argument to override standard default weights.
58
* Updated Extendify Library 0.10.2

redux-core/assets/css/redux-fields.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

redux-core/assets/css/redux-fields.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

redux-core/framework.php

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

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

33-
Redux_Core::$version = '4.3.18';
33+
Redux_Core::$version = '4.3.18.1';
3434
Redux_Core::$redux_path = dirname( __FILE__ );
3535
Redux_Core::instance();
3636

redux-core/inc/fields/typography/redux-typography.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.18
11+
* Version: 4.3.18.1
1212
* Requires at least: 4.0
1313
* Requires PHP: 7.1
1414
* Author: Extendify

redux-templates/classes/class-templates.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ public function modify_template_content_width() {
133133
/**
134134
* Include the template
135135
*
136-
* @param string $template Template type.
136+
* @param string|null $template Template type.
137137
*
138-
* @return string
138+
* @return string|null
139139
* @since 4.0.0
140140
*/
141-
public function template_include( string $template ): string {
141+
public function template_include( ?string $template ): ?string {
142142
if ( is_singular() ) {
143143
$page_template = get_post_meta( get_the_ID(), '_wp_page_template', true );
144144

0 commit comments

Comments
 (0)