Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#15050 closed defect (bug) (wontfix)

bypostauthor class does not work when logged off

Reported by: infected's profile infected Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: Comments Keywords:
Focuses: Cc:

Description

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 added.

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?

Change History (4)

#1 @mrmist
15 years ago

Related (and, I suspect, exclusive to) #10931

#2 @mrmist
15 years ago

  • Keywords comments bypostauthor class removed

I'm not even convinced this is actually a bug. Allowing just anyone to put in "admin" and "admins email" and then leave comments that are essentially marked as being from that person is not a great idea.

Rather as the other ticket said they should have to log in, to gain such recognition.

Recommend closing this as i'm-not-sure-what.

#3 @scribu
15 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

What mrmist said.

#4 @infected
15 years ago

Okay, no problem. As said i also wasn´t sure about this is a bug or not.

Note: See TracTickets for help on using tickets.