Answered: Infinite loading when delete question or post an answer

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

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:
U.S. attacks Venezuela, captures Maduro and his wife; AG Bondi says charges include 'Narco-Terrorism'
These are the most overbought and oversold stocks in the S&P 500 as 2026 begins
Chip stocks rally to start 2026 after third-straight winning year
Watch Trump's full comments following the U.S. strike against Venezuela
Estate planning helps 'forestall bad outcomes,' author says — you need some key documents even at age 18
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. 
Amazon lets some users chat with Alexa+ on the web in bid to take on ChatGPT
Josh Brown: The bull market in this bank stock is ready to be renewed to start 2026
JPMorgan forms special advisory group to share some of bank's 'secret sauce' with clients