Answered: Infinite loading when delete question or post an answer

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

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:
Movie: The Accountant
Movie: Dark Star
Movie: Heads of State
Getting swole for the revolution, for some values of swole
communication process tools/diagrams/explanations
CNBC's Most Valuable Sports Empires 2025: Here's how the top 20 empires in the world stack up
Here’s what the endowment tax in Trump's 'big beautiful bill' may mean for your college tuition
Boeing delivers most airplanes since late 2023 after ramping up 737 Max output
Wells Fargo's trade ideas for the third quarter
'Free money' from Trump accounts is a 'no-brainer,' says expert—but other options may be better