Make WordPress Core


Ignore:
Timestamp:
08/05/2013 10:07:42 PM (11 years ago)
Author:
nacin
Message:

In get_attached_file(), fix the explanation of when the filter is bypassed. props devesine, fixes #24571.

File:
1 edited

Legend:

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

    r24977 r24983  
    168168 * Retrieve attached file path based on attachment ID.
    169169 *
    170  * You can optionally send it through the 'get_attached_file' filter, but by
    171  * default it will just return the file path unfiltered.
     170 * By default the path will go through the 'get_attached_file' filter, but
     171 * passing a true to the $unfiltered argument of get_attached_file() will
     172 * return the file path unfiltered.
    172173 *
    173174 * The function works by getting the single post meta name, named
Note: See TracChangeset for help on using the changeset viewer.