The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to delete disli...
 
Share:
Notifications
Clear all

[Solved] How to delete dislikes from a single comment?

3 Posts
2 Users
2 Reactions
800 Views
Bluerake
Posts: 2
Topic starter
(@bluerake)
New Member
Joined: 3 years ago

Someone is abusing the like/dislike system and is giving hundreds of dislikes only to annoy users.
I know that there's a tool to remove the dislike button, but I would like to know how to change the number/delete dislikes from a single comment.
Thank you very much.

vai

 

2 Replies
Asti
Posts: 7615
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi @bluerake,

Execute these SQL commands in Hosting Service cPanel > phpMyAdmin > Your Website Database > SQL tab:

DELETE FROM `wp_wc_users_voted` 
WHERE `comment_id` IN (1,2,3) /* use comment ID  intead of the 1,2,3 or comma-separate the comment IDs */
AND `vote_type` = '-1' /* dislike = -1 */

The wp_ is just a prefix. In your case, it can differ.  

Please always backup the database, before doing any actions.

1 Reply
Bluerake
(@bluerake)
Joined: 3 years ago

New Member
Posts: 2

@asti thank you!

Share: