Make WordPress Core

Changeset 36268


Ignore:
Timestamp:
01/12/2016 12:07:30 PM (7 years ago)
Author:
swissspidy
Message:

Docs: Fix incorrect DocBlock for wp_get_attachment_url().

The documented $pagenow global isn't used in the function.

Props sebastian.pisula.
Fixes #35413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r36253 r36268  
    48594859 * @since 2.1.0
    48604860 *
    4861  * @global string $pagenow
    4862  *
    48634861 * @param int $post_id Optional. Attachment ID. Default 0.
    48644862 * @return string|false Attachment URL, otherwise false.
Note: See TracChangeset for help on using the changeset viewer.