Answered: Infinite loading when delete question or post an answer

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

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:
Palantir rallies 15% for the week as Iran war boosts prospects, muting Anthropic concern
Iran war threatens $11.7 trillion global travel industry as passengers get caught in crossfire
Inside the booming business of wellness third spaces and membership clubs
You can buy gold on Amazon — but should you?
Dow falls 450 points, posts worst week in nearly a year as oil tops $90, jobs data disappoints: Live updates
Middle-income homebuyers have $30,000 more buying power than a year ago, research finds. It's still not enough
Stargate SG-1: The Light Rewatch
Top Chef: Carolina Roots
Special Event: NHL Trade Deadline 2026
'E-shaped' economy is replacing a K-shaped one in 2026, economist says: The middle class is 'spending in a nervous way' now