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
This commit is contained in:
Sergey Biryukov 2023-12-22 14:52:21 +00:00
parent 6e1fe93a1c
commit 9b905f9573
2 changed files with 1 additions and 3 deletions

View File

@ -654,8 +654,6 @@ function get_singular_template() {
* *
* @see get_query_template() * @see get_query_template()
* *
* @global array $posts
*
* @return string Full path to attachment template file. * @return string Full path to attachment template file.
*/ */
function get_attachment_template() { function get_attachment_template() {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.