Answered: Infinite loading when delete question or post an answer

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

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 is betting on these stocks, including one Big Tech laggard, in the first quarter of 2026
Trump orders Chinese-controlled firm to unwind chip asset deal, citing national security risks
Anthropic's 'do more with less' bet has kept it at the AI frontier, co-founder Amodei tells CNBC
These are the most overbought and oversold stocks in the S&P 500 as 2026 begins
U.S. indictment against Venezuela President Maduro, wife is unsealed
Watch Trump's full comments following the U.S. strike against Venezuela
Minneapolis Fed's Kashkari indicates interest rates don't need to be cut much more
First GLP-1 pill for obesity from Novo Nordisk launches in the U.S. 
Overspent this holiday season? 3 easy ways to pay down debt
Comcast spinoff Versant starts trading on Nasdaq in rare media debut