Answered: Infinite loading when delete question or post an answer

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

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:
Early third-quarter earnings show a 'resilient' U.S. consumer, with signs of strain
Amex Platinum and Business Platinum add Airbnb perks, but lodging credit rules are tightening
Stock futures are mixed as traders await Fed decision, Big Tech earnings: Live updates
Speaker Mike Johnson calls election-transfer concerns ‘absurd’
Anthropic's IPO could be 'speculative fiction' or a 'generational moment' — investors are split
Indian investors rush to Nvidia, SpaceX, Apple as local trading apps roll out access to U.S. stocks
How investors can position ahead of the Fed's next policy decision
SK Hynix shares jump 11% after record quarterly profit, outperforming broader market
Art and other things in cans
Chevron and Exxon hit all-time highs as refining profits soar in reaction to Iran and Ukraine wars