[wp-trac] Re: [WordPress Trac] #6349: Widget titles can be repetitive

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 23 10:05:25 GMT 2008


#6349: Widget titles can be repetitive
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |        Owner:  mdawaffe
     Type:  defect    |       Status:  reopened
 Priority:  normal    |    Milestone:  2.5     
Component:  General   |      Version:  2.5     
 Severity:  normal    |   Resolution:          
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by Viper007Bond):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Shouldn't the patch be this?

 {{{
 if ( $widget_title && $widget_title != $sidebar_args['widget_name'] )
 }}}

 The original patch fixes it for the default plugins, but it's still
 possible to get the repetitive title bug if `$widget_title !=
 $control['name']` but `$widget_title == sidebar_args['widget_name']`,
 which it does with what I'm doing.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6349#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list