Answered: Infinite loading when delete question or post an answer

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

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:
Apple picks Google's Gemini to run AI-powered Siri coming this year
Buy this social media stock with lots of upside thanks to AI, says Evercore ISI
Trump’s tariff gambit over Iran risks derailing U.S.–China trade deal
Trump calls for credit card interest rate cap: Options for consumers if credit tightens
Trump floats 1-year, 10% credit card interest rate cap — what that could mean for your money
More drivers have $1,000-plus car loan payments. Here's what buyers can expect in 2026
Does it really matter who ends up owning Warner Bros.? Media exec Tom Rogers breaks it down
Intel and AMD get upgrades at KeyBanc thanks to strong server demand for AI
Fanatics to launch sports media and entertainment studio
Delta CEO sees record earnings in reach again thanks to high-end travel demand