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

See #55646.


git-svn-id: https://develop.svn.wordpress.org/trunk@53728 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2022-07-20 13:19:51 +00:00
parent 6cea6ead66
commit 5d8e134e9f
2 changed files with 7 additions and 7 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