Answered: Infinite loading when delete question or post an answer

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

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:
Weekend in Austin, TX without rental car, good idea or not?
Gap shares tumble 14% as retailer cuts sales guidance after disappointing Old Navy performance
Nokia doesn’t make phones anymore. So how does it make billions?
New: Earn up to 90,000 bonus points with these limited-time Southwest credit card offers
LG Electronics' shares surge 24% after showing automotive innovations using Google tech
Samsung's shares surge as much as 6% after company ships next-generation AI memory chip samples
In search of really, really nice (US-sized) composition notebooks
Stock futures are little changed as traders eye developments in Middle East: Live updates
Tesla Robotaxi fleet in Texas less than one-tenth size of Waymo's, filings reveal
Red-hot Arm Holdings soars to another all-time high. What's fueling the move this time?