Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#54473 new enhancement

Comments listing screen in wp-admin doesn't expose if a comment was left by a logged in user

Reported by: dd32's profile dd32 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch has-unit-tests
Focuses: administration Cc:

Description

When viewing wp-admin/edit-comments.php it's not possible to determine if comments are being left by an "anonymous" user, or by a logged in user, despite this being stored in the comments table.

This is particularly useful for Sites where users need to be logged in to comment, or for sites with public registration enabled (such as WordPress.org).

Using #meta5485 as an example, spammers can register and then leave spam comments on posts, but it's not immediately visible what their user login is, or have any link to their profile - Having a link directing the moderator to the users profile, in addition to being able to spam just the comment, would be greatly beneficial for those use-cases.

There's already a bit of information overload on the comments listing author section, so perhaps for logged in users the information shown might be able to be adjusted/minified/etc. There might not be any reason to display the Email address for example.

Change History (2)

This ticket was mentioned in PR #1917 on WordPress/wordpress-develop by costdev.


3 years ago
#1

  • Keywords has-patch has-unit-tests added

This PR:

  • Links a registered author's name to their profile page.
  • Adds (unregistered) after an unregistered author's name.
  • Adds unit tests for the above.

Trac ticket: https://core.trac.wordpress.org/ticket/54473

#2 @costdev
3 years ago

PR submitted for discussion/review.

Note: See TracTickets for help on using tickets.