[wp-trac] [WordPress Trac] #17942: DFW in multisite needs to check media_buttons

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 30 09:09:22 UTC 2011


#17942: DFW in multisite needs to check media_buttons
--------------------------+------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.2
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by vebailovity):

 Replying to [comment:2 nacin]:
 > Alternative would be to trigger #add_media, which seems to allow some
 things, but I don't really know what.

 Maybe something along these lines in onclick handler:

 {{{
 (jQuery('#add_image').length ? jQuery('#add_image').click() :
 jQuery('#add_media').click());return false;
 }}}

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


More information about the wp-trac mailing list