Skip to content

Commit 9babba3

Browse files
committed
v4.5.1
1 parent 58e7b26 commit 9babba3

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Added `null` to multiple typesafe declarations.
1818
* Added: CSS output added to `slider` field.
1919
* Added: Minimum PHP 7.4 warning message to admin screen to prevent fatal errors. Some people are, apparently, still using outdated PHP.
20-
* Release date: December 3, 2024
20+
* Release date: December 4, 2024
2121

2222
## 4.5.0
2323
* Changed: Minimum PHP version now 7.4.

readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ NOTE: Redux is not intended to be used on its own. It requires a config file pro
139139
* Added `null` to multiple typesafe declarations.
140140
* Added: CSS output added to `slider` field.
141141
* Added: Minimum PHP 7.4 warning message to admin screen to prevent fatal errors. Some people are, apparently, still using outdated PHP.
142-
* Release date: December 3, 2024
142+
* Release date: December 4, 2024
143143

144144
= 4.5.0 =
145145
* Changed: Minimum PHP version now 7.4.

redux-core/inc/extensions/custom_fonts/class-redux-extension-custom-fonts.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ class Redux_Extension_Custom_Fonts extends Redux_Extension_Abstract {
4444
/**
4545
* Custom fonts array.
4646
*
47-
* @var array
47+
* @var array|null
4848
*/
49-
public array $custom_fonts = array();
49+
public ?array $custom_fonts = array();
5050

5151
/**
5252
* WordPress upload directory.
5353
*
54-
* @var string
54+
* @var string|null
5555
*/
56-
public string $upload_dir = '';
56+
public ?string $upload_dir = '';
5757

5858
/**
5959
* WordPress upload URI.
6060
*
61-
* @var string
61+
* @var string|null
6262
*/
63-
public string $upload_url = '';
63+
public ?string $upload_url = '';
6464

6565
/**
6666
* Subfolder name.
@@ -72,23 +72,23 @@ class Redux_Extension_Custom_Fonts extends Redux_Extension_Abstract {
7272
/**
7373
* Font folder.
7474
*
75-
* @var string
75+
* @var string|null
7676
*/
77-
public string $font_folder = '';
77+
public ?string $font_folder = '';
7878

7979
/**
8080
* Font Filename.
8181
*
82-
* @var string
82+
* @var string|null
8383
*/
84-
public string $font_filename = '';
84+
public ?string $font_filename = '';
8585

8686
/**
8787
* File selected in media upload.
8888
*
89-
* @var string
89+
* @var string|null
9090
*/
91-
public string $selected_file = '';
91+
public ?string $selected_file = '';
9292

9393
/**
9494
* Is font conversation service available?

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

+14-14
Original file line numberDiff line numberDiff line change
@@ -38,44 +38,44 @@ class Redux_Extension_Metaboxes extends Redux_Extension_Abstract {
3838
/**
3939
* Boxes array.
4040
*
41-
* @var array
41+
* @var array|null
4242
*/
43-
public array $boxes = array();
43+
public ?array $boxes = array();
4444

4545
/**
4646
* Post types array.
4747
*
48-
* @var array
48+
* @var array|null
4949
*/
50-
public array $post_types = array();
50+
public ?array $post_types = array();
5151

5252
/**
5353
* Post type.
5454
*
55-
* @var string
55+
* @var string|null
5656
*/
57-
public string $post_type;
57+
public ?string $post_type;
5858

5959
/**
6060
* Sections array.
6161
*
62-
* @var array
62+
* @var array|null
6363
*/
64-
public array $orig_args;
64+
public ?array $orig_args;
6565

6666
/**
6767
* Sections array.
6868
*
69-
* @var array
69+
* @var array|null
7070
*/
71-
public array $sections = array();
71+
public ?array $sections = array();
7272

7373
/**
7474
* CSS output array.
7575
*
76-
* @var array
76+
* @var array|null
7777
*/
78-
public array $output = array();
78+
public ?array $output = array();
7979

8080
/**
8181
* Options array.
@@ -136,9 +136,9 @@ class Redux_Extension_Metaboxes extends Redux_Extension_Abstract {
136136
/**
137137
* Base URI.
138138
*
139-
* @var string
139+
* @var string|null
140140
*/
141-
public string $base_url;
141+
public ?string $base_url;
142142

143143
/**
144144
* WP_Links array.

0 commit comments

Comments
 (0)