Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#6306 closed defect (bug) (fixed)

Having only one comment results in invalid dashboard HTML

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

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 19 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
19 years ago

#1 @mdawaffe
19 years ago

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

#2 @ryan
19 years ago

  • Resolution → fixed
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.