Skip to content

Commit e102c6b

Browse files
committed
Add ticket reference to unit tests for WP_Theme_JSON::remove_insecure_properties.
This update includes the ticket number 64280 in the documentation for the tests that validate safe settings and their paths in valid settings.
1 parent f4f33b8 commit e102c6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/phpunit/tests/theme/wpThemeJson.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6626,6 +6626,8 @@ public function test_merge_incoming_data_unique_slugs_always_preserved() {
66266626

66276627
/**
66286628
* @covers WP_Theme_JSON::remove_insecure_properties
6629+
*
6630+
* @ticket 64280
66296631
*/
66306632
public function test_remove_insecure_properties_should_allow_safe_settings() {
66316633
$actual = WP_Theme_JSON::remove_insecure_properties(
@@ -6663,6 +6665,8 @@ public function test_remove_insecure_properties_should_allow_safe_settings() {
66636665

66646666
/**
66656667
* @covers WP_Theme_JSON::remove_insecure_properties
6668+
*
6669+
* @ticket 64280
66666670
*/
66676671
public function test_safe_settings_paths_should_exist_in_valid_settings() {
66686672
// Verify all paths in SAFE_SETTINGS exist in VALID_SETTINGS.

0 commit comments

Comments
 (0)