• Resolved xenonofarcticus

    (@xenonofarcticus)


    Have been using this tool on a number of sites for some time. The other day while maintaining a WooCommerce site for a client I noticed tens of thousands of Comments on a site that has all commenting turned off.

    After some review of the disable setting, I went ahead and deleted all the comments.

    This apparently deleted all the (fairly important) WooCommerce Order Notes (which are stored as Comments for some very poor architectural decision).

    It would be smart for this plugin to detect the utilization of the Comments table by WooCommerce and confirm if you REALLY want to delete all the order notes, because I can’t think of any situation where you’d WANT to delete the order notes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Abid Hasan

    (@abidhasan112)

    Hi,

    Thank you for your concern regarding this matter. I believe you selected “Everywhere” when deleting your comments.

    We display the Order Notes separately here in a Comment Type: https://d.pr/i/1HDcr4

    I appreciate your concern, and we can modify this confirmation message by mentioning all the Post Types and Comment Types while deleting the comments by selecting Everywhere: https://d.pr/i/oz6r0N

    Thank you, @xenonofarcticus. Hopefully, we will modify the confirmation message in the next update.

    Thread Starter xenonofarcticus

    (@xenonofarcticus)

    Yes, I did select Everywhere, because a non-technical person would not know that “Order Note” is actually a hidden subtype of “Comment”. The name “Order Note” does not contain the word “Comment” anywhere in it, so it is reasonable that most users don’t realize the association.

    I do see the section about?“Delete Certain Comment Types” mentioning Order Notes, but since most people dealing with junk comments will be looking at the “Everywhere” section, they probably won’t notice that Order Notes is a type of comment.

    I would recommend a warning text in the “Everything” section that indicates if WooCommerce is installed, that this includes Order Notes, and make a separate checkbox, defaulting to unchecked, that allows for including Order Notes.

    There are VERY few situations I can imagine where anyone using a plugin named “Disable Comments” will actually be intending to delete WooCommerce Order Notes, as that is a different named task and intent from the stated purpose of your plugin, so it should be made extremely difficult to accidentally fulfill this expanded deletion.

    Plugin Support Abid Hasan

    (@abidhasan112)

    Hi,

    We’ve heard you. We’ve released the new version (v2.4.6) with WordPress Compatibility 6.5, where we changed the warning text and mentioned the WooCommerce Order Notes delete warning. Check it out: https://d.pr/i/PDCAP2

    Thanks for your contribution here! @xenonofarcticus

    To piggyback off this thread: Does “disable everywhere” also disable WooCommerce order notes?

    Plugin Support Abid Hasan

    (@abidhasan112)

    @colewebdev, No. It doesn’t disable the WooCommerce Order Notes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Accidentally deletes WooCommerce Order Notes?’ is closed to new replies.