From 9b905f9573c50dbec676ccaac3b8a02915a7e842 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Dec 2023 14:52:21 +0000 Subject: [PATCH] Docs: Remove unused `$posts` global reference in `get_attachment_template()`. Follow-up to [32628], [32804]. Props viralsampat. See #60021. Built from https://develop.svn.wordpress.org/trunk@57223 git-svn-id: http://core.svn.wordpress.org/trunk@56729 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/template.php b/wp-includes/template.php index 989d630f7f..2bb682193c 100644 --- a/wp-includes/template.php +++ b/wp-includes/template.php @@ -654,8 +654,6 @@ function get_singular_template() { * * @see get_query_template() * - * @global array $posts - * * @return string Full path to attachment template file. */ function get_attachment_template() { diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d3c480bbc..054b8b2462 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57222'; +$wp_version = '6.5-alpha-57223'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.