Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Allow Users to Edit Their Comments in WordPress

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to allow users to edit their comments in WordPress?

By default, WordPress doesn’t allow users to edit their comments. This can be frustrating if the visitor spots a spelling or grammar mistake after posting their comment or if they want to add more context to their message.

In this article, we will show you how to allow users to easily edit their comments in WordPress for a short period of time.

How to allow users to edit their comments in WordPress

Why Allow Users to Edit or Delete Their Comments?

Allowing users to edit or delete their comments on your WordPress website is essential when a user wants to fix an issue in the comment they just left.

Perhaps they want to correct simple errors like spelling or grammatical errors. Some users may also want to adjust their comments by adding or removing content.

By default, users cannot edit comments in WordPress, which can be frustrating. Thankfully, you can easily enable this functionality using a WordPress plugin.

Of course, there should be rules for allowing users to modify comments. For example, you may want to implement a time limit, such as within the first 5 or 10 minutes.

Doing this can stop link builders and spammers from abusing the comment section by going back and adding links to comments you have already approved.

It can also prevent people from changing parts of the comment thread so that it no longer makes sense to other readers.

That being said, let’s look at how to easily allow users to edit their comments.

Allowing Users to Edit Comments in WordPress

The easiest way to allow users to edit comments in WordPress is by using the Comment Edit Core plugin. This simple plugin works out of the box and lets you set your own time limit for users to edit comments.

During our testing, we found that this plugin only allows logged-in WordPress users to edit comments. It won’t work with comments left by anonymous users or comments waiting in moderation. So do keep this in mind.

The first thing you need to do is install and activate the Comment Edit Core plugin. You can see our step-by-step guide on how to install a WordPress plugin for detailed instructions.

Upon activation, users can edit their comments for the first 5 minutes. After 5 minutes, users can no longer change their comments.

To change this time limit, go to Settings » Comment Edit Core in your WordPress admin area.

You can use any time limit you like by typing a number into the ‘Edit Timer in Minutes’ field. However, we recommended setting the limit to under 30 minutes since we want to allow users to fix errors right away.

Another thing you can customize is the Timer Appearance. You can use a Compact format (for example, 5:00) or a Words format (for example, 5 minutes).

Last but not least, you can change the comment editor theme so that it suits your WordPress theme better. You can choose the Regular, Light, or Dark theme. Feel free to check out the theme previews before making your choice.

Once you are happy with the settings, click the ‘Save Options’ button to store the changes.

The Comment Edit Core plugin

With that done, we recommend testing the plugin by posting a comment on any of your WordPress blog posts.

After submitting the comment, you will see a ‘Click to Edit’ link and a countdown timer below the comment text. The timer shows how much time you have left to edit the comment.

Editing a comment on a WordPress website

Simply select the ‘Click to Edit’ link and then make your changes.

Just be aware that the plugin doesn’t let you change the name, email address, or website URL you originally entered when posting the comment.

Editing a comment on a WordPress website or blog

When you are done, click on the ‘Save’ button to update the comment.

If you want to delete your comment instead, then go ahead and click on the ‘Delete’ button. This will open a popup asking you to confirm that you want to delete your comment.

Deleting comments in WordPress

Go ahead and click on ‘OK’ to remove the comment.

Bonus Tip: Boost Your Comment Engagement With Thrive Comments

Do you want to make your comment section more exciting for your readers? If so, we recommend installing Thrive Comments.

Thrive Comments is a comment plugin that can make your comment section more fun and engaging. You can add features like upvotes and downvotes or likes and dislikes to get people to interact with each other.

The Thrive Comments WordPress plugin

What’s great about Thrive Comments is that it can help you make your visitors stay longer on your site, too. With the post-comment action feature, you can direct commenters to a custom thank you page to show your appreciation, or to a post related to their interests.

To learn more about Thrive Comments, you can check out these articles:

We hope this article has helped you allow users to edit their own comments in WordPress. You may also want to see our proven ways to make money online blogging and our guide on how to lazy load comments in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

19 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    In the course of time, have you found any plugin that would work even for non-logged in users?

      • Jiří Vaněk says

        Thank you for answer. That’s a shame, because I don’t have registration on the website then, so I can’t use this function. But thank you for your time and answer.

  3. Eric says

    When I click on the link to “Comment Edit Lite” I go to “Comment Edit Core” plugin. Likewise when I search for the plugin I have been using (Simple Comment Editing) I also go to “Comment Edit Core”.

    What is happening? Are both those former plugins rolled into Comment Edit Core? If so, it might be helpful to change the name in your post.

    • WPBeginner Support says

      Thank you for letting us know, this may have been a recent change in the naming of their plugin.


  4. Ferdinand Thommes says

    Does this work with or any other WPComment-Plugin besides the built-in WP functionality?

    • WPBeginner Support says

      You would need to reach out to the plugin’s support for what other plugins it currently integrates with.


  5. Ayaz Javed says

    A good article indeed. But in the sentence:
    “There can also be some rare cases where a user may think about deleting their comment because what they wrote was is completely out of context”.
    There are two mistakes.
    A user should not be followed by their comments rather his or her comments.
    Secondly “was” and “is” should not have been used together.

  6. Lucas Hilty says

    The article says, “If your site has registered users, then you can easily leverage the built-in user roles and capabilities to allow some users the ability to edit their own comments.”

    Our site does require registration, so this is the solution I’m looking for. I’m using Pods to manage user roles and capabilities, but I couldn’t find the name of the capability to modify in order to allow this.

    Any tips?


  7. Elliott Rodgers says

    Great idea to allow people a few minutes to edit their comments. :)

    Thanks for sharing.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.