When I reply to a comment in the WP backend in the “Comments” section (edit-comments.php) I can only post the reply as the logged in user.
Is it possible to select a certain user like in the “Add new post” section (post-new.php) where I have a dropdown with all users that are allowed to write posts?
Leave a Reply
You must be logged in to post a comment.
Yes, add an user-select field in the comment form:
When the form gets processed, check if an user has been selected and change the comment data before it gets inserted in the database:
ref:
wp_dropdown_users
I couldn’t get the method by @onetrickpony to work within 20 minutes or so, and granted it’s been a while since his post, so things may have changed.
I ended going free plugin shopping and found the Switch Users plugin, which just worked straight out of the box. I have my main user disabled in WordFence and only login as my [renamed] admin user with MFA. Anyone who tries to login as my main user will instantly get blocked.
With the Switch Users plugin, when I want to comment as my main user, I can easily switch to that user from within the WP Admin Console, reply to comments, and switch back to my admin user.