[wp-trac] [WordPress Trac] #34974: Missing $url variable in hook 'image_send_to_editor' since 4.4

WordPress Trac noreply at wordpress.org
Thu Dec 10 13:54:49 UTC 2015


#34974: Missing $url variable in hook 'image_send_to_editor' since 4.4
---------------------------+-----------------------------
 Reporter:  hughie.molloy  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  4.4
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 The $attachment variable set on line 2553 of ajax-actions.php in the
 function wp_ajax_send_attachment_to_editor() no longer has an index 'url'.
 This means that the $url being feed through to the hooks later on is an
 empty string.

 This was not the case in WP 4.3.1

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34974>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list