WP Manifestindependent plugin directory
manifest / users / wp-assign-author-to-user

WP Assign Author to User WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

A WordPress plugin that links anonymous comments to registered users based on matching email addresses.

★ 0stars
12release downloads
v1.2.3latest · 3mo ago

Install

Download wp-assign-author-to-user-1.2.3.zip From the v1.2.3 release on GitHub, Jul 7, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/dataforge/wp-assign-author-to-user/releases/download/v1.2.3/wp-assign-author-to-user-1.2.3.zip
Updates itself. It ships its own updater, so new versions appear under Dashboard → Updates.

A WordPress plugin that links anonymous comments to registered users based on matching email addresses.

Description

When visitors leave comments on your WordPress site without being logged in, those comments are stored with user_id = 0 even if the email address matches a registered user. This plugin helps you identify and link those anonymous comments to their corresponding user accounts.

Features

  • Detect Unlinked Comments: Identifies comments where the email matches a registered user but user_id = 0
  • Detect Orphaned Comments: Finds comments pointing to deleted users (user_id points to non-existent user)
  • Bulk or Individual Linking: Link comments individually or by email address
  • Create New Users: Option to create a new user account when linking comments with no existing match
  • Email-based Grouping: Groups comments by email address with comment counts
  • Safe Updates: Only updates comments that are not spam or trash

Installation

  1. Download the plugin
  2. Upload to /wp-content/plugins/wp-assign-author-to-user/
  3. Activate through the 'Plugins' menu in WordPress
  4. Navigate to Comments → Assign Author to User in the WordPress admin

Usage

Link Comments to Existing User

  1. Go to Comments → Assign Author to User
  2. Find the email address you want to link
  3. Click Link to existing user
  4. Select the user from the dropdown
  5. Click Link Comments

Create New User and Link Comments

  1. Go to Comments → Assign Author to User
  2. Find the email address you want to link
  3. Click Create new user
  4. Fill in the username and name
  5. Click Create User and Link Comments

Filter View

  • Show All: Display all email addresses with comments
  • Show Unlinked Only: Display only emails with unlinked or orphaned comments

What Gets Updated

When you link comments to a user, the plugin:

  • Updates user_id in wp_comments table
  • Only affects comments with comment_approved NOT IN ('spam','trash')
  • Skips comments already correctly linked to the target user
  • Fixes orphaned comments (pointing to deleted users)

Requirements

  • WordPress 5.0 or higher
  • PHP 7.0 or higher

Changelog

1.0.0

  • Initial release
  • Link anonymous comments to users by email
  • Create new users and link comments
  • Detect and fix orphaned comments

License

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Releases

3 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.2.3 latest
Jul 7, 2026 3mo ago
wp-assign-author-to-user-1.2.3.zip
4
Apr 6, 2026 6mo ago
wp-assign-author-to-user.zip
7
Apr 6, 2026 6mo ago
wp-assign-author-to-user.zip
1
A grade

Security

WP Assign Author to User 1.2.3 · audited by WP Registry

No security issues found.

Audited release
1.2.3
Findings
none
Worst severity
—
Content hash
7ffa6eb7a238efb4bc80093e…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.