Opened 14 years ago
Closed 14 years ago
#13240 closed defect (bug) (fixed)
Menu Widget shouldn't output a blank title
Reported by: | mattwiebe | Owned by: | azaozz |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
It can be changed to just !empty. No need for isset.