[wp-trac] [WordPress Trac] #15050: bypostauthor class does not work when logged off

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 6 18:44:38 UTC 2010

#15050: bypostauthor class does not work when logged off
 Reporter:  infected      |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  Awaiting Review              
Component:  Comments      |     Version:  3.0.1                        
 Severity:  normal        |    Keywords:  comments, bypostauthor, class
 I´m not 100% sure if this is a bug...

 WP automatically adds the css class .bypostauthor when the author post a
 comment while he´s logged in.

 But if the author is logged off and filling in the same name & e-mail
 (that he´s using for his wp-account) into the commentform the class is not

 There is no query that compares the commentposters e-mail with the one of
 the author.

 So it´s difficult to make use of the bypostauthor-class to style comments
 because authors are not always logged in when they reply to a comment.

 Maybe there´s a way to include a query for this?

Ticket URL: <http://core.trac.wordpress.org/ticket/15050>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list