From 14f073a15433fc1221bfad686f5720b6acad4674 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 12 Jan 2016 12:08:26 +0000 Subject: [PATCH] Docs: Fix incorrect DocBlock for `wp_get_attachment_url()`. The documented `$pagenow` global isn't used in the function. Props sebastian.pisula. Fixes #35413. Built from https://develop.svn.wordpress.org/trunk@36268 git-svn-id: http://core.svn.wordpress.org/trunk@36235 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 72ef1641aa..f4a20909d2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -4858,8 +4858,6 @@ function wp_update_attachment_metadata( $post_id, $data ) { * * @since 2.1.0 * - * @global string $pagenow - * * @param int $post_id Optional. Attachment ID. Default 0. * @return string|false Attachment URL, otherwise false. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 0862fddd5a..3c02200759 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36267'; +$wp_version = '4.5-alpha-36268'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.