[wp-trac] Re: [WordPress Trac] #9450: Widgets should allow to have no titles + widget_title not always applied

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 13:20:34 GMT 2009


#9450: Widgets should allow to have no titles + widget_title not always applied
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                         
     Type:  defect (bug)       |      Status:  new                    
 Priority:  normal             |   Milestone:  2.8                    
Component:  Widgets            |     Version:  2.8                    
 Severity:  normal             |    Keywords:  has-patch tested commit
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch tested dev-feedback => has-patch tested commit


Comment:

 update patch proceeds as follows:

  - applies the widget_title filter, always (allows themes to override the
 calendar's default   in particular)
  - if no title is around, do not output the h2 tags related to the title

 this allows to easily override the default WP behavior without breaking
 backward compat.

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


More information about the wp-trac mailing list