WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15050 closed defect (bug) (wontfix)

bypostauthor class does not work when logged off

Reported by: 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)

comment:1 mrmist4 years ago

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

comment:2 mrmist4 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.

comment:3 scribu4 years ago

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

What mrmist said.

comment:4 infected4 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.