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
This commit is contained in:
Pascal Birchler 2016-01-12 12:08:26 +00:00
parent 44ad0964b0
commit 14f073a154
2 changed files with 1 additions and 3 deletions

View File

@ -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.
*/

View File

@ -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.