Displays a count of each commenter's total number of comments (linked to those comments) next to their name on any admin page.
Next to all appearances of each commenter’s name in the admin, this plugin shows a comments bubble identical to the one shown for posts in the admin listing of posts. The comments bubble shows the number of approved comments for that person and potentially a red superscript circle indicating the number of pending comments for the person (assuming they have any). The comment counts are linked to listings of comments associated solely with that particular commenter.
By default in WordPress, it is not possible to tell via a single glance whether a particular commenter has commented before or how many times the’ve commented.
This plugin adds this handy capability to the WordPress admin pages that allows you to:
Specifically, the linked comment count appears next to commenters in:
Commenters are identified by the email address they provided when commenting. If your site does not require that commenters submit their email address when commenting, this plugin will use the commenter’s name as the identifier, though since this is a publicly viewable piece of data it’s possible that multiple people could be posting under the same “name”, so this method has the potential to be not as accurate.
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
admin-commenters-comments-count.zip
inside the plugins directory for your site (typically wp-content/plugins/
)A screenshot of the 'Comments' admin page with the comment count appearing next to the commenter's name. The most recent comment is from someone who has one approved commented on the site. The second comment is from someone who hasn't commented on the site before and has one comment in moderation. The third comment is from someone who has commented 12 times before and has 3 additional comments in moderation.
A screenshot of the 'Comments on POST TITLE' admin page with the comment count appearing next to the commenter's name.
A screenshot of the 'Activity' admin dashboard widget with the comment count appearing next to the commenter's name.
A screenshot of the 'Comments' metabox on the 'Edit Post' admin page with the comment count appearing next to the commenter's name.
A screenshot of the 'Comments' column added to the admin users listing.
There are many reasons, some of which might include:
Commenters are identified by the email address they provided when making a comment. If commenters are allowed to omit providing an email address, then their name is used to identify them (though this is potentially less accurate).
Since commenters are identified by the email address they provided when making a comment, if they supply an alternative email address for a comment, the plugin treats that email address as a separate person.
Click the “Screen Options” link in the upper-right of the page. It will slide down a form. Click (or unclick) the checkbox for “Comments” to show (or hide) the column.
Yes.
__wakeup()
method visibility from private
to public
to avoid warnings under PHP8phpunit/
to house all files related to unit testingbin/
to phpunit/bin/
tests/bootstrap.php
to phpunit/
tests/
to phpunit/tests/
phpunit.xml
to phpunit.xml.dist
per best practicesadd_user_column()
, enqueue_admin_css()
, handle_column_data()
Full changelog is available in CHANGELOG.md.