Skip to content

Commit 7817afd

Browse files
committed
chore: clean up PR - remove scope creep and fix changeset
- Revert typed property changes to keep PR focused on WP 6.9 compat - Remove inaccurate changeset claim about header removal
1 parent 241adc0 commit 7817afd

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.changeset/prepare-public-release.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ Verify WordPress 6.9 compatibility and update CI test matrix
77
- Tested compatibility with WordPress 6.9
88
- Updated CI test matrix to WordPress 6.9, 6.8, 6.7 (dropped 6.5, 6.6)
99
- Updated dev dependencies (mockery/mockery to ^1.6, wp-graphql/wp-graphql-testcase to ^3.4)
10-
- Removed GitHub Plugin URI and Update URI headers for WordPress.org compatibility
1110
- Reduced readme.txt tags to 5 for WordPress.org compliance

plugins/hwp-previews/src/Admin/Settings/Fields/Settings_Field_Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Settings_Field_Collection {
5353
*
5454
* @var array<\HWP\Previews\Admin\Settings\Fields\Settings_Field_Interface>
5555
*/
56-
protected array $fields = [];
56+
protected $fields = [];
5757

5858
/**
5959
* Constructor to initialize the fields.

plugins/hwp-previews/src/Preview/Parameter/Preview_Parameter_Registry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Preview_Parameter_Registry {
2222
*
2323
* @var self|null
2424
*/
25-
protected static ?self $instance = null;
25+
protected static $instance = null;
2626

2727
/**
2828
* Registered parameters.

plugins/hwp-previews/src/Preview/Post/Post_Preview_Service.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ class Post_Preview_Service {
1919
*
2020
* @var array<string>
2121
*/
22-
protected array $post_types = [];
22+
protected $post_types = [];
2323

2424
/**
2525
* The allowed post-statuses for previews.
2626
*
2727
* @var array<string>
2828
*/
29-
protected array $post_statuses = [];
29+
protected $post_statuses = [];
3030

3131
/**
3232
* The allowed post-statuses for parent post-types (hierarchical).
3333
*
3434
* @var array<string>
3535
*/
36-
protected array $parent_post_statuses = [];
36+
protected $parent_post_statuses = [];
3737

3838
/**
3939
* Get the post-statuses.

plugins/hwp-previews/src/Preview/Post/Post_Settings_Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Post_Settings_Service {
1919
*
2020
* @var array<mixed>
2121
*/
22-
protected array $settings_values = [];
22+
protected $settings_values = [];
2323

2424
/**
2525
* Initialize the settings service.

0 commit comments

Comments
 (0)