Answered: Infinite loading when delete question or post an answer

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

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:
Why a niche category of CRE lending is suddenly seeing record deals
Airlines cancel hundreds of flights as massive winter storm sweeps across U.S.
There's a new idea of alpha in the market that big money managers are pursuing
House passes final funding bills 8 days before shutdown, Senate now will consider
Social Security has 'no bankruptcy or collapse in the cards,' economist says — but benefits may change
What I want from Apple, Meta and Microsoft in their key earnings reports
China's AI trade is quickly moving from infrastructure to applications. Watch these stocks
Energy stocks to watch as major winter storm rips through the U.S.
Shutdown odds grow as Senate Republicans won't remove DHS funding after Pretti killing
Stock futures fall as traders get set for a big week of trading: Live updates