[wp-trac] [WordPress Trac] #24459: Editing images with GD breaks with streams

WordPress Trac noreply at wordpress.org
Thu May 30 04:58:03 UTC 2013


#24459: Editing images with GD breaks with streams
--------------------------+-----------------------------
 Reporter:  rmccue        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.5
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 See #18543 for the original ticket when support for this was added.

 Unfortunately, when this was committed, it was inadvertently broken.
 Although the `$filename` parameter is set to null, this is never used, and
 instead `$arguments` is passed to the GD functions. GD then receives a
 stream URL, and breaks completely.

 Instead, `$arguments[1]` should be set to null in
 `WP_Image_Editor::make_image()` if the URL is a stream.

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


More information about the wp-trac mailing list