#9465 closed defect (bug) (fixed)
Comments CSS-Classnames aren't properly assigned in get_comment_class()
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.2 |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
byuser now in it's own array entry. fixes problems with getting un-normalized data.