[wp-trac] [WordPress Trac] #15432: media_handle_sideload() is not returning right value
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 15 15:46:00 UTC 2010
#15432: media_handle_sideload() is not returning right value
--------------------------+-------------------------------------------------
Reporter: acsnaterse | Owner: joostdevalk
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: Media | Version: 3.0.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment(by joostdevalk):
Well it is an API change: it returns $id instead of $url, where $url was
the $file['url'] that the function took as an input before, so it might
change some things. The one instance where that return value was used in
WP has been fixed with the same patch too, if you think that's not enough,
let's see how we should approach this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15432#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list