mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user