[wp-trac] [WordPress Trac] #24571: get_attached_file inline doc is confused about default filtering of path

WordPress Trac noreply at wordpress.org
Wed Jun 12 17:57:33 UTC 2013


#24571: get_attached_file inline doc is confused about default filtering of path
--------------------------+-----------------------------
 Reporter:  devesine      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Inline Docs   |    Version:  trunk
 Severity:  trivial       |   Keywords:  has-patch
--------------------------+-----------------------------
 get_attached_file claims:

 {{{
 * You can optionally send it through the 'get_attached_file' filter, but
 by
 * default it will just return the file path unfiltered.
 }}}

 but the default parameter is `$unfiltered = false`.  Attached patch
 restores doc to honesty.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24571>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list