[wp-trac] [WordPress Trac] #19181: Make image_link_input_fields filterable to add buttons

WordPress Trac noreply at wordpress.org
Fri Jul 18 19:47:39 UTC 2014


#19181: Make image_link_input_fields filterable to add buttons
-------------------------+-------------------------
 Reporter:  ryanimel     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Media        |     Version:  2.7
 Severity:  normal       |  Resolution:  worksforme
 Keywords:               |     Focuses:
-------------------------+-------------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review =>


Comment:

 > This patch makes the image_link_input_fields function filterable, so
 that additional buttons could be added to the Link URL section when
 inserting an image into a post.

 You could actually add buttons to the old media modal using
 `attachment_fields_to_edit` filter, see an example plugin on #21114:
 [attachment:add-link-to-large-image.php:ticket:21114].

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


More information about the wp-trac mailing list