[wp-trac] [WordPress Trac] #31660: Press This: some images don't get "sideloaded"

WordPress Trac noreply at wordpress.org
Tue Mar 17 00:46:04 UTC 2015


#31660: Press This: some images don't get "sideloaded"
--------------------------+---------------------
 Reporter:  azaozz        |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Press This    |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by azaozz):

 * owner:   => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31799"]:
 {{{
 #!CommitTicketReference repository="" revision="31799"
 Press This:
 - Strip slashes while running side_load_images(), add slashes after.
 - Simplify and clean up side_load_images().
 - Add another arg to media_sideload_image() to return the uploaded image
 src only, and fix it to always return WP_Error on errors.
 Fixes #31660.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31660#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list