From d67522adfe50107b6779bcd6312da18706775acf Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 31 May 2024 10:44:15 +0000 Subject: [PATCH] Docs: Improve docblock for `block_template_part()`. Clarify that `$part` is not limited to just 'header' or 'footer'. See #60699. Built from https://develop.svn.wordpress.org/trunk@58268 git-svn-id: http://core.svn.wordpress.org/trunk@57731 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-template-utils.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/block-template-utils.php b/wp-includes/block-template-utils.php index 8efb03be1a..0a404da8c6 100644 --- a/wp-includes/block-template-utils.php +++ b/wp-includes/block-template-utils.php @@ -1265,7 +1265,7 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) { * * @since 5.9.0 * - * @param string $part The block template part to print. Either 'header' or 'footer'. + * @param string $part The block template part to print, for example 'header' or 'footer'. */ function block_template_part( $part ) { $template_part = get_block_template( get_stylesheet() . '//' . $part, 'wp_template_part' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7febf5d769..183bbddf86 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58267'; +$wp_version = '6.6-alpha-58268'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.