Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#8006 closed defect (bug) (fixed)

get_comment_class should generate "comment" class when appropriate

Reported by: filosofo Owned by:
Priority: normal Milestone: 2.7
Component: Template Version: 2.7
Severity: normal Keywords: get_comment_class comment has-patch
Cc: Focuses:

Description

get_comment_class adds appropriate classnames for comments that are odd or even threads or pingbacks or trackbacks, but it doesn't indicate whether something is a regular ol' comment.

Adding a class of "comment" makes sense, it's parallel to the classes of "pingback" and "trackback," and it has precedent in the popular Sandbox theme to which get_comment_class bears similarity.

Attachments (1)

comment_class.diff​ (1019 bytes ) - added by filosofo 18 years ago.

Download all attachments as: .zip

Change History (2)

#1 @westi
18 years ago

  • Resolution → fixed
  • Status new → closed

(In [9405]) Make all comments classy. Fixes #8006 props filosofo.

Note: See TracTickets for help on using tickets.