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

WordPress Trac noreply at wordpress.org
Sat Jul 25 17:51:13 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                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+---------------------
Description changed by SergeyBiryukov:

Old description:

> 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.

New description:

 As previously mentioned in comment:1:ticket:35595, the
 `image_send_to_editor` filter 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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list