[wp-trac] [WordPress Trac] #25409: Update return documentation on get_attached_file() as only returning a string
WordPress Trac
noreply at wordpress.org
Tue Sep 24 20:04:42 UTC 2013
#25409: Update return documentation on get_attached_file() as only returning a
string
--------------------------+-----------------------
Reporter: DrewAPicture | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Inline Docs | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------
As noted in [comment:15:ticket:25170], `get_attached_file()` returns the
path to where an attachment ''should be'' and grokking the source shows no
indication the function would ever return false.
Attached patch updates the `get_attached_file()` phpdoc to reflect the
above.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25409>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list