Docs: Use third-person singular verbs for Block Supports related function descriptions, as per docblocks standards.

See #56792.

Built from https://develop.svn.wordpress.org/trunk@54873


git-svn-id: http://core.svn.wordpress.org/trunk@54425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-11-24 22:36:11 +00:00
parent 64a713db2b
commit 532cd00f46
7 changed files with 10 additions and 10 deletions

View File

@ -57,7 +57,7 @@ function wp_register_colors_support( $block_type ) {
/**
* Add CSS classes and inline styles for colors to the incoming attributes array.
* Adds CSS classes and inline styles for colors to the incoming attributes array.
* This will be applied to the block markup in the front-end.
*
* @since 5.6.0

View File

@ -31,7 +31,7 @@ function wp_register_custom_classname_support( $block_type ) {
}
/**
* Add the custom classnames to the output.
* Adds the custom classnames to the output.
*
* @since 5.6.0
* @access private

View File

@ -497,7 +497,7 @@ function wp_register_duotone_support( $block_type ) {
}
/**
* Render out the duotone stylesheet and SVG.
* Renders out the duotone stylesheet and SVG.
*
* @since 5.8.0
* @since 6.1.0 Allow unset for preset colors.

View File

@ -7,7 +7,7 @@
*/
/**
* Get the elements class names.
* Gets the elements class names.
*
* @since 6.0.0
* @access private
@ -20,7 +20,7 @@ function wp_get_elements_class_name( $block ) {
}
/**
* Update the block content with elements class names.
* Updates the block content with elements class names.
*
* @since 5.8.0
* @access private
@ -82,7 +82,7 @@ function wp_render_elements_support( $block_content, $block ) {
}
/**
* Render the elements stylesheet.
* Renders the elements stylesheet.
*
* In the case of nested blocks we want the parent element styles to be rendered before their descendants.
* This solves the issue of an element (e.g.: link color) being styled in both the parent and a descendant:

View File

@ -7,7 +7,7 @@
*/
/**
* Get the generated classname from a given block name.
* Gets the generated classname from a given block name.
*
* @since 5.6.0
*
@ -39,7 +39,7 @@ function wp_get_block_default_classname( $block_name ) {
}
/**
* Add the generated classnames to the output.
* Adds the generated classnames to the output.
*
* @since 5.6.0
*

View File

@ -33,7 +33,7 @@ function wp_register_spacing_support( $block_type ) {
}
/**
* Add CSS classes for block spacing to the incoming attributes array.
* Adds CSS classes for block spacing to the incoming attributes array.
* This will be applied to the block markup in the front-end.
*
* @since 5.8.0

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-54872';
$wp_version = '6.2-alpha-54873';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.