[wp-trac] [WordPress Trac] #7013: Multiple image insert via media manager

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 28 15:54:05 UTC 2010


#7013: Multiple image insert via media manager
--------------------------------------+-------------------------------------
 Reporter:  duncanmc                  |        Owner:  anonymous
     Type:  feature request           |       Status:  reopened 
 Priority:  normal                    |    Milestone:  3.1      
Component:  Media                     |      Version:           
 Severity:  normal                    |   Resolution:           
 Keywords:  needs-patch, 2nd-opinion  |  
--------------------------------------+-------------------------------------

Comment(by ocean90):

 Yes,  thats right, its the function media_send_to_editor($html) with an
 ''exit''.

 So I try at the moment to add the checkbox to the form (media.php line
 1530) and then add a new parameter to media_send_to_editor:[[BR]]

 {{{
 media_send_to_editor($html, $autoclose) {
   [...]
   if ( $autoclose == true);
    exit;

   return;
 }}}

 I think it not so tricky as you think.

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


More information about the wp-trac mailing list