Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#6306 closed defect (bug) (fixed)

Having only one comment results in invalid dashboard HTML

Reported by: viper007bond's profile Viper007Bond Owned by: mdawaffe's profile mdawaffe
Milestone: 2.5 Priority: lowest
Severity: minor Version: 2.5
Component: Administration Keywords: has-patch commit
Focuses: Cc:

Description

If you only have the one default comment, it results in an empty <ul> in the recent comments list.

A solution is to conditionally output that <ul> or if we're lazy, just do <li style="display:none"></li> immediately after it.

Attachments (1)

6306.diff (776 bytes) - added by mdawaffe 17 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
17 years ago

#1 @mdawaffe
17 years ago

  • Keywords has-patch commit added
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

#2 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7429]) Fix dash markup when there's only one comment. Props mdawaffe. fixes #6306

Note: See TracTickets for help on using tickets.