Opened 16 years ago
Closed 16 years ago
#13240 closed defect (bug) (fixed)
Menu Widget shouldn't output a blank title
| Reported by: | mattwiebe | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Widgets | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It can be changed to just !empty. No need for isset.