Answered: Infinite loading when delete question or post an answer

Post date: 2021-05-07 08:17:28
Views: 137

If you modify the DB directly, you will not fire all the needed events needed to perform the expected action. That can either make the action fail, or make any other Q2A core or plugin feature fail. In other words, even if you don't detect you've broken something immediately, you might detect it at a later stage.

Conclusion: unless you know 100% of the Q2A core and plugin code that gets executed when performing a specific action, don't try to replicate it by modifying the database directly.

Having said so, there's a plugin that takes care of some (if not all) of these issues: https://github.com/amiyasahu/q2a-delete-hidden-posts

Please click Here to read the full story.
 
Other Top and Latest Questions:
Bank of America says Nvidia and these stocks are its top picks for 2026
2 things successful couples do over the holidays, according to a psychologist
Wall Street's top stock picks for 2026: Mizuho’s under-the-radar name that could more than triple in value
Zelenskyy favors U.S. proposal of three-way talks if it produces results in ending war with Russia
U.S. seizes oil tanker off the coast of Venezuela
Google was at risk of losing its dominance — until it promoted this AI executive
Supplements in your stocking: Why wellness gifts are gaining steam for the holidays and beyond
Starbucks turnaround will take time. This options strategy works if shares remain range-bound
The NBA is pursuing ownership groups for a potential basketball league in Europe
Alphabet to acquire data center and energy infrastructure company Intersect