[wp-trac] [WordPress Trac] #10242: Media menu does not handle multiple lines

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 29 10:31:09 UTC 2010


#10242: Media menu does not handle multiple lines
--------------------------+-------------------------------------------------
 Reporter:  xibe          |       Owner:  azaozz          
     Type:  defect (bug)  |      Status:  assigned        
 Priority:  normal        |   Milestone:  3.0             
Component:  UI            |     Version:  2.8             
 Severity:  normal        |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
Changes (by ocean90):

  * keywords:  has-patch needs-testing => has-patch tested


Comment:

 Works fine: http://grab.by/45hN

 You can test it with

 {{{
 function test_tabs ($tabs) {
         $newtab = array(
         '1' => ('1 Gallery'),
         '2' => ('2 Gallery'),
         '3' => ('3 Gallery'),
         '4' => ('4 Gallery'),
         '5' => ('5 Gallery'),
         '6' => ('6 Gallery'),
         );
     return array_merge($tabs,$newtab);
 }
 add_filter('media_upload_tabs', 'test_tabs');
 }}}

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


More information about the wp-trac mailing list