From b15595679202ea4c2a8c97ae33ddc084bd5e2a2e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 3 May 2023 19:46:21 +0000 Subject: [PATCH] Docs: Miscellaneous formatting corrections to inline docs and whitespace. See #57840 Built from https://develop.svn.wordpress.org/trunk@55712 git-svn-id: http://core.svn.wordpress.org/trunk@55224 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-theme-json.php | 16 ++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 53fc0217e3..12f1287b58 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -972,7 +972,7 @@ class WP_Theme_JSON { * the theme.json structure this object represents. * * @since 5.8.0 - * @since 5.9.0 Removed the `$type` parameter`, added the `$types` and `$origins` parameters. + * @since 5.9.0 Removed the `$type` parameter, added the `$types` and `$origins` parameters. * * @param string[] $types Types of styles to load. Will load all by default. It accepts: * - `variables`: only the CSS Custom Properties for presets & custom ones. @@ -2749,12 +2749,12 @@ class WP_Theme_JSON { * * For example: * - * array( - * 'color' => array( - * 'palette' => array( 'slug-1', 'slug-2' ), - * 'gradients' => array( 'slug-3', 'slug-4' ), - * ), - * ) + * array( + * 'color' => array( + * 'palette' => array( 'slug-1', 'slug-2' ), + * 'gradients' => array( 'slug-3', 'slug-4' ), + * ), + * ) * * @since 5.9.0 * @@ -3430,7 +3430,7 @@ class WP_Theme_JSON { $spacing_sizes[] = $above_sizes_item; } - // If there are 7 or less steps in the scale revert to numbers for labels instead of t-shirt sizes. + // If there are 7 or fewer steps in the scale revert to numbers for labels instead of t-shirt sizes. if ( $spacing_scale['steps'] <= 7 ) { for ( $spacing_sizes_count = 0; $spacing_sizes_count < count( $spacing_sizes ); $spacing_sizes_count++ ) { $spacing_sizes[ $spacing_sizes_count ]['name'] = (string) ( $spacing_sizes_count + 1 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 6f2003d310..2af8aa03e8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55711'; +$wp_version = '6.3-alpha-55712'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.