From 9babba3d20fa67706c24a5765ae1844326de0bee Mon Sep 17 00:00:00 2001 From: Kev Provance Date: Wed, 4 Dec 2024 15:17:21 -0500 Subject: [PATCH] v4.5.1 --- CHANGELOG.md | 2 +- readme.txt | 2 +- .../class-redux-extension-custom-fonts.php | 24 ++++++++-------- .../class-redux-extension-metaboxes.php | 28 +++++++++---------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4de129a7d..40b5c681d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ * Added `null` to multiple typesafe declarations. * Added: CSS output added to `slider` field. * Added: Minimum PHP 7.4 warning message to admin screen to prevent fatal errors. Some people are, apparently, still using outdated PHP. -* Release date: December 3, 2024 +* Release date: December 4, 2024 ## 4.5.0 * Changed: Minimum PHP version now 7.4. diff --git a/readme.txt b/readme.txt index ffc8e1225..55ee1b327 100644 --- a/readme.txt +++ b/readme.txt @@ -139,7 +139,7 @@ NOTE: Redux is not intended to be used on its own. It requires a config file pro * Added `null` to multiple typesafe declarations. * Added: CSS output added to `slider` field. * Added: Minimum PHP 7.4 warning message to admin screen to prevent fatal errors. Some people are, apparently, still using outdated PHP. -* Release date: December 3, 2024 +* Release date: December 4, 2024 = 4.5.0 = * Changed: Minimum PHP version now 7.4. diff --git a/redux-core/inc/extensions/custom_fonts/class-redux-extension-custom-fonts.php b/redux-core/inc/extensions/custom_fonts/class-redux-extension-custom-fonts.php index 8a4f4a6b4..ce23d51eb 100644 --- a/redux-core/inc/extensions/custom_fonts/class-redux-extension-custom-fonts.php +++ b/redux-core/inc/extensions/custom_fonts/class-redux-extension-custom-fonts.php @@ -44,23 +44,23 @@ class Redux_Extension_Custom_Fonts extends Redux_Extension_Abstract { /** * Custom fonts array. * - * @var array + * @var array|null */ - public array $custom_fonts = array(); + public ?array $custom_fonts = array(); /** * WordPress upload directory. * - * @var string + * @var string|null */ - public string $upload_dir = ''; + public ?string $upload_dir = ''; /** * WordPress upload URI. * - * @var string + * @var string|null */ - public string $upload_url = ''; + public ?string $upload_url = ''; /** * Subfolder name. @@ -72,23 +72,23 @@ class Redux_Extension_Custom_Fonts extends Redux_Extension_Abstract { /** * Font folder. * - * @var string + * @var string|null */ - public string $font_folder = ''; + public ?string $font_folder = ''; /** * Font Filename. * - * @var string + * @var string|null */ - public string $font_filename = ''; + public ?string $font_filename = ''; /** * File selected in media upload. * - * @var string + * @var string|null */ - public string $selected_file = ''; + public ?string $selected_file = ''; /** * Is font conversation service available? diff --git a/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php b/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php index 1255cbb3b..afd98a74e 100644 --- a/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php +++ b/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php @@ -38,44 +38,44 @@ class Redux_Extension_Metaboxes extends Redux_Extension_Abstract { /** * Boxes array. * - * @var array + * @var array|null */ - public array $boxes = array(); + public ?array $boxes = array(); /** * Post types array. * - * @var array + * @var array|null */ - public array $post_types = array(); + public ?array $post_types = array(); /** * Post type. * - * @var string + * @var string|null */ - public string $post_type; + public ?string $post_type; /** * Sections array. * - * @var array + * @var array|null */ - public array $orig_args; + public ?array $orig_args; /** * Sections array. * - * @var array + * @var array|null */ - public array $sections = array(); + public ?array $sections = array(); /** * CSS output array. * - * @var array + * @var array|null */ - public array $output = array(); + public ?array $output = array(); /** * Options array. @@ -136,9 +136,9 @@ class Redux_Extension_Metaboxes extends Redux_Extension_Abstract { /** * Base URI. * - * @var string + * @var string|null */ - public string $base_url; + public ?string $base_url; /** * WP_Links array.