[wp-trac] [WordPress Trac] #13240: Menu Widget shouldn't output a blank title

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 22:39:11 UTC 2010


#13240: Menu Widget shouldn't output a blank title
--------------------------+-------------------------------------------------
 Reporter:  mattwiebe     |       Owner:  azaozz   
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Widgets       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 The Menu widget currently prints out a blank title. (i.e. a blank title
 will print out as <h2 class="widgettitle"></h2>) This causes undesirable
 styling situations and is inconsistent with how the Text widget omits
 blank titles.

 My patch adds a check to make sure the title isn't empty before printing
 it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13240>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list