Docs: Use third-person singular verbs for function descriptions in `block-template.php` and `block-template-utils.php`.

See #55646.

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


git-svn-id: http://core.svn.wordpress.org/trunk@53287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-07-20 13:21:08 +00:00
parent 6d9424f138
commit 917e850008
3 changed files with 8 additions and 8 deletions

View File

@ -487,7 +487,7 @@ function _remove_theme_attribute_in_block_template_content( $template_content )
}
/**
* Build a unified template object based on a theme file.
* Builds a unified template object based on a theme file.
*
* @since 5.9.0
* @access private
@ -531,7 +531,7 @@ function _build_block_template_result_from_file( $template_file, $template_type
}
/**
* Build a unified template object based a post Object.
* Builds a unified template object based a post Object.
*
* @since 5.9.0
* @access private
@ -860,7 +860,7 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) {
}
/**
* Print a template-part.
* Prints a template-part.
*
* @since 5.9.0
*
@ -875,7 +875,7 @@ function block_template_part( $part ) {
}
/**
* Print the header template-part.
* Prints the header template-part.
*
* @since 5.9.0
*/
@ -884,7 +884,7 @@ function block_header_area() {
}
/**
* Print the footer template-part.
* Prints the footer template-part.
*
* @since 5.9.0
*/

View File

@ -32,7 +32,7 @@ function _add_template_loader_filters() {
}
/**
* Find a block template with equal or higher specificity than a given PHP template file.
* Finds a block template with equal or higher specificity than a given PHP template file.
*
* Internally, this communicates the block content that needs to be used by the template canvas through a global variable.
*
@ -118,7 +118,7 @@ function locate_block_template( $template, $type, array $templates ) {
}
/**
* Return the correct 'wp_template' to render for the request template type.
* Returns the correct 'wp_template' to render for the request template type.
*
* @access private
* @since 5.8.0

View File

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