#9465 closed defect (bug) (fixed)
Comments CSS-Classnames aren't properly assigned in get_comment_class()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7.2 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Template | Keywords: | has-patch |
| Focuses: | Cc: |
Description
the function get_comment_class() (/wp-includes/comment-template.php) has a little flaw in adding class names to the class array. this can lead to problems if filter want to check for a specific classname in the classes-array.
it can be easily fixed. this will prevent plugin authors and theme designers to create complicated hotfix code.
the supplied patch fixes this behaviour for the byuser classname being in one with the comment-author-... .
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
byuser now in it's own array entry. fixes problems with getting un-normalized data.