[wp-trac] [WordPress Trac] #12207: Trying to override wordpress_adv_hidden to show "kitchen sink" has no effect

WordPress Trac wp-trac at lists.automattic.com
Sat May 8 07:37:55 UTC 2010


#12207: Trying to override wordpress_adv_hidden to show "kitchen sink" has no
effect
--------------------------+-------------------------------------------------
 Reporter:  amattie       |        Owner:  azaozz 
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  TinyMCE       |      Version:  2.9.1  
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by johnbillion):

  * keywords:  reporter-feedback close =>
  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Unassigned =>


Comment:

 You should use boolean false instead of 0. This works as expected:

 {{{
 function unhide_kitchensink( $args ) {
         $args['wordpress_adv_hidden'] = false;
         return $args;
 }
 add_filter( 'tiny_mce_before_init', 'unhide_kitchensink' );

 }}}

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


More information about the wp-trac mailing list