Skip to content

Commit 15a864c

Browse files
committed
back out PHP 7.4 specific syntax. Too soon, apparently. ver bump 4.1.29
Signed-off-by: Kevin Provance <[email protected]>
1 parent c716279 commit 15a864c

15 files changed

+59
-27
lines changed

.distignore

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,33 @@
11
/.wordpress-org
22
/.git
3-
/.config
4-
/.idea
53
/.github
64
/node_modules
5+
/.tx
6+
/.github
7+
/bin
8+
/codestyles
9+
/tests
710

811
.distignore
912
.gitignore
13+
.travis.yml
14+
ISSUE_TEMPLATE
15+
CONTRIBUTING.md
16+
package-lock.json
17+
.editorconfig
18+
.eslintignore
19+
.eslintrc.json
20+
.gitattributes
21+
.jscsrc
22+
.jshintignore
23+
.jshintrc
24+
.stylelintignore
25+
.stylelintrc.json
26+
.svgrrc
27+
composer.json
28+
gulpfile.js
29+
jsconfig.json
30+
package-lock.json
31+
package.json
32+
ruleset.xml
33+
yarn.lock

CHANGELOG.md

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

3+
## 4.1.29
4+
* Fixed: All PHP 7.4 specific syntax backed out. It caused older versions of PHP to report fatal errors.
5+
* Fixed: Index error in the image_select field.
6+
37
## 4.1.28
48
* Fixed: #217 - Redux templates loading on post types with no block editor.
59
* Fixed: #158 - Redux theme checks no longer prevent theme check plugin from functioning.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reduxframework/redux-framework",
3-
"version": "4.1.28",
3+
"version": "4.1.29",
44
"authors": [
55
{
66
"name": "Redux.io",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "gulpfile.js",
44
"name": "redux",
55
"author": "Redux.io",
6-
"version": "4.1.28",
6+
"version": "4.1.29",
77
"license": "GPL-3.0-or-later",
88
"repository": {
99
"type": "git",

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: gutenberg, blocks, gutenberg blocks, editor, block, page builder, block ed
44
Requires at least: 4.0
55
Requires PHP: 7.1
66
Tested up to: 5.7.3
7-
Stable tag: 4.1.28
7+
Stable tag: 4.1.29
88
License: GPL-2.0+
99
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1010

@@ -152,6 +152,10 @@ If you want, you can use the [Gutenberg](https://wordpress.org/plugins/gutenberg
152152

153153
== Changelog ==
154154

155+
== 4.1.29 ==
156+
* Fixed: All PHP 7.4 specific syntax backed out. It caused older versions of PHP to report fatal errors.
157+
* Fixed: Index error in the image_select field.
158+
155159
== 4.1.28 ==
156160
* Fixed: #217 - Redux templates loading on post types with no block editor.
157161
* Fixed: #158 - Redux theme checks no longer prevent theme check plugin from functioning.

redux-core/framework.php

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

2424
require_once dirname( __FILE__ ) . '/class-redux-core.php';
2525

26-
Redux_Core::$version = '4.1.28';
26+
Redux_Core::$version = '4.1.29';
2727
Redux_Core::$redux_path = dirname( __FILE__ );
2828
Redux_Core::instance();
2929

redux-core/inc/extensions/customizer/class-redux-extension-customizer.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ class Redux_Extension_Customizer extends Redux_Extension_Abstract {
3333
*
3434
* @var string
3535
*/
36-
public string $field_name = 'customizer';
36+
public $field_name = 'customizer';
3737

3838
/**
3939
* Set the friendly name of the extension. This is for display purposes. No underscores or dashes are required.
4040
*
4141
* @var string
4242
*/
43-
public string $extension_name = 'Customizer';
43+
public $extension_name = 'Customizer';
4444

4545
/**
4646
* Set the minumum required version of Redux here (optional).
@@ -50,28 +50,28 @@ class Redux_Extension_Customizer extends Redux_Extension_Abstract {
5050
*
5151
* @var string
5252
*/
53-
private string $minimum_redux_version = '4.0.0';
53+
private $minimum_redux_version = '4.0.0';
5454

5555
/**
5656
* Original options.
5757
*
5858
* @var array
5959
*/
60-
private array $orig_options = array();
60+
private $orig_options = array();
6161

6262
/**
6363
* Post values.
6464
*
6565
* @var array
6666
*/
67-
private static array $post_values = array();
67+
private static $post_values = array();
6868

6969
/**
7070
* Options array.
7171
*
7272
* @var array
7373
*/
74-
public array $options = array();
74+
public $options = array();
7575

7676
/**
7777
* Redux_Extension_my_extension constructor.

redux-core/inc/extensions/import_export/class-redux-extension-import-export.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Redux_Extension_Import_Export extends Redux_Extension_Abstract {
3131
*
3232
* @var bool
3333
*/
34-
public bool $is_field = false;
34+
public $is_field = false;
3535

3636
/**
3737
* Class Constructor. Defines the args for the extions class

redux-core/inc/extensions/options_object/class-redux-extension-options-object.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ class Redux_Extension_Options_Object extends Redux_Extension_Abstract {
3333
*
3434
* @var string
3535
*/
36-
private string $field_name = 'options_object';
36+
private $field_name = 'options_object';
3737

3838
/**
3939
* Is field bit.
4040
*
4141
* @var bool
4242
*/
43-
public bool $is_field = false;
43+
public $is_field = false;
4444

4545
/**
4646
* Class Constructor. Defines the args for the extions class

redux-core/inc/fields/media/class-redux-media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Redux_Media extends Redux_Field {
2424
*
2525
* @var bool $filters_enabled .
2626
*/
27-
private bool $filters_enabled = false;
27+
private $filters_enabled = false;
2828

2929
/**
3030
* Set field and value defaults.

redux-core/inc/fields/slider/class-redux-slider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,28 @@ class Redux_Slider extends Redux_Field {
2323
*
2424
* @var int
2525
*/
26-
private int $display_none = 0;
26+
private $display_none = 0;
2727

2828
/**
2929
* Label value readout.
3030
*
3131
* @var int
3232
*/
33-
private int $display_label = 1;
33+
private $display_label = 1;
3434

3535
/**
3636
* Text value readout.
3737
*
3838
* @var int
3939
*/
40-
private int $display_text = 2;
40+
private $display_text = 2;
4141

4242
/**
4343
* Select box value readout.
4444
*
4545
* @var int
4646
*/
47-
private int $display_select = 3;
47+
private $display_select = 3;
4848

4949
/**
5050
* Set field and value defaults.

redux-core/inc/fields/typography/class-redux-typography.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ class Redux_Typography extends Redux_Field {
2222
*
2323
* @var array
2424
*/
25-
private array $typography_preview = array();
25+
private $typography_preview = array();
2626

2727
/**
2828
* Standard font array.
2929
*
3030
* @var array $std_fonts
3131
*/
32-
private array $std_fonts = array(
32+
private $std_fonts = array(
3333
'Arial, Helvetica, sans-serif' => 'Arial, Helvetica, sans-serif',
3434
'\'Arial Black\', Gadget, sans-serif' => '\'Arial Black\', Gadget, sans-serif',
3535
'\'Bookman Old Style\', serif' => '\'Bookman Old Style\', serif',
@@ -54,7 +54,7 @@ class Redux_Typography extends Redux_Field {
5454
*
5555
* @var bool $user_fonts
5656
*/
57-
private bool $user_fonts = true;
57+
private $user_fonts = true;
5858

5959
/**
6060
* Redux_Field constructor.

redux-core/inc/themecheck/class-redux-themecheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Redux_ThemeCheck {
2323
* @since 1.0.0
2424
* @var string
2525
*/
26-
protected string $version = '1.0.0';
26+
protected $version = '1.0.0';
2727

2828
/**
2929
* Instance of this class.

redux-framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Description: Build better sites in WordPress fast
1111
* Author: Redux.io, Extendify
1212
* Author URI: http://redux.io
13-
* Version: 4.1.28
13+
* Version: 4.1.29
1414
* Text Domain: redux-framework
1515
* License: GPLv3 or later
1616
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt

0 commit comments

Comments
 (0)