Make WordPress Core

Changeset 25609


Ignore:
Timestamp:
09/24/2013 09:28:35 PM (12 years ago)
Author:
DrewAPicture
Message:

Clarify inline documentation for the return in get_attached_file().

Fixes #25409.

File:
1 edited

Legend:

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

    r25581 r25609  
    178178 *
    179179 * @since 2.0.0
    180  * @uses apply_filters() Calls 'get_attached_file' on file path and attachment ID.
    181180 *
    182181 * @param int $attachment_id Attachment ID.
    183182 * @param bool $unfiltered Whether to apply filters.
    184  * @return string|bool The file path to the attached file, or false if the attachment does not exist.
     183 * @return string|bool The file path to where the attached file should be, false otherwise.
    185184 */
    186185function get_attached_file( $attachment_id, $unfiltered = false ) {
Note: See TracChangeset for help on using the changeset viewer.