From 917e85000854b966f5bcfc41680635ca54726bef Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 20 Jul 2022 13:21:08 +0000 Subject: [PATCH] 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 --- wp-includes/block-template-utils.php | 10 +++++----- wp-includes/block-template.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/block-template-utils.php b/wp-includes/block-template-utils.php index 720693c5fd..adac3a3ae7 100644 --- a/wp-includes/block-template-utils.php +++ b/wp-includes/block-template-utils.php @@ -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 */ diff --git a/wp-includes/block-template.php b/wp-includes/block-template.php index 4d3a0449ea..0aa571117e 100644 --- a/wp-includes/block-template.php +++ b/wp-includes/block-template.php @@ -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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 57758be58d..d97614e5e1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.