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
This commit is contained in:
John Blackbourn 2023-05-03 19:46:21 +00:00
parent c83f4cb97a
commit b155956792
2 changed files with 9 additions and 9 deletions

View File

@ -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.
@ -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 );

View File

@ -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.