[wp-trac] [WordPress Trac] #50765: Pass the $rel parameter to 'image_send_to_editor' filter

WordPress Trac noreply at wordpress.org
Sat Jul 25 15:16:11 UTC 2020


#50765: Pass the $rel parameter to 'image_send_to_editor' filter
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  5.6
Component:  Media           |    Version:
 Severity:  normal          |   Keywords:  needs-patch good-first-bug
  Focuses:                  |
----------------------------+----------------------------------------
 As previously mentioned in comment:1:ticket:35595, the
 `image_send_to_editor` accepts all the parameters of
 `get_image_send_to_editor()`, except for `$rel`.

 This seems like an oversight, it would be helpful if `$rel` was passed
 too.

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


More information about the wp-trac mailing list