From 50c647409c178029f07b1e97aac06636d23ce2d5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Dec 2022 13:55:25 +0000 Subject: [PATCH] Themes: Alphabetize the properties list in `WP_Theme_JSON::VALID_STYLES` for consistency. Follow-up to [53129], [54253], [55008]. See #57354. git-svn-id: https://develop.svn.wordpress.org/trunk@55009 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme-json.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index c1bb6dd0f9..f9e8e371c5 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -280,8 +280,8 @@ class WP_Theme_JSON { 'settings', 'styles', 'templateParts', - 'version', 'title', + 'version', ); /** @@ -381,13 +381,13 @@ class WP_Theme_JSON { 'filter' => array( 'duotone' => null, ), - 'shadow' => null, 'outline' => array( 'color' => null, 'offset' => null, 'style' => null, 'width' => null, ), + 'shadow' => null, 'spacing' => array( 'margin' => null, 'padding' => null,