From e3731cc113abd96e9ceffc3434e7b2551a32f9a4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Dec 2023 14:50:04 +0000 Subject: [PATCH] Docs: Remove unused `$posts` global reference in `get_attachment_template()`. Follow-up to [32628], [32804]. Props viralsampat. See #60021. git-svn-id: https://develop.svn.wordpress.org/trunk@57223 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/template.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-includes/template.php b/src/wp-includes/template.php index 989d630f7f..2bb682193c 100644 --- a/src/wp-includes/template.php +++ b/src/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() {