Answered: Infinite loading when delete question or post an answer

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

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:
Trump jokes $5,000 would buy 'a hamburger and maybe a small dessert' at Mar-a-Lago as cost of living looms over midterms
How investors can position ahead of the Fed's next policy decision
Speaker Mike Johnson calls election-transfer concerns ‘absurd’
China and Russia are redrawing Arctic trade. Can Europe fight back?
Polymarket faces renewed CFTC probe over U.S. access to offshore platform
Movie: Toy Story 5
Avatar: Seven Havens: The Envoys: Part 1
Zero Parades: For Dead Spies
Trump says Iran war will end 'when I want it to' as costs reportedly balloon to $47 billion
UBS pre-tax profits jump 27% to $3.59 billion in the third quarter