[wp-trac] [WordPress Trac] #18708: Close thickbox automatically when 'Use as featured image' link is clicked

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 10 09:38:22 UTC 2012


#18708: Close thickbox automatically when 'Use as featured image' link is clicked
-------------------------+-----------------------------
 Reporter:  dgwyer       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:  3.2.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Related: #14762

 [attachment:18708.4.patch] passes the context in the same way as `custom-
 header.php`, without introducing a new parameter for
 `get_upload_iframe_src()`.

 As for turning the link into a button, we could just use `class="button"`,
 but in that case the buttons have a different height ([attachment:18708
 .class-button.png]), so the patch turns it into an actual `input` element.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18708#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list