mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
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:
parent
c83f4cb97a
commit
b155956792
@ -972,7 +972,7 @@ class WP_Theme_JSON {
|
|||||||
* the theme.json structure this object represents.
|
* the theme.json structure this object represents.
|
||||||
*
|
*
|
||||||
* @since 5.8.0
|
* @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:
|
* @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.
|
* - `variables`: only the CSS Custom Properties for presets & custom ones.
|
||||||
@ -3430,7 +3430,7 @@ class WP_Theme_JSON {
|
|||||||
$spacing_sizes[] = $above_sizes_item;
|
$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 ) {
|
if ( $spacing_scale['steps'] <= 7 ) {
|
||||||
for ( $spacing_sizes_count = 0; $spacing_sizes_count < count( $spacing_sizes ); $spacing_sizes_count++ ) {
|
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 );
|
$spacing_sizes[ $spacing_sizes_count ]['name'] = (string) ( $spacing_sizes_count + 1 );
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user