Answered: Infinite loading when delete question or post an answer

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

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:
Meta announces new AI parental controls following FTC inquiry
Cybersecurity firm F5's stock sinks 10% after disclosing nation-state hack
Genentech to sell flu pill directly to some consumers at a discount as Trump pressures drugmakers
U.S. Chamber of Commerce sues Trump administration over $100,000 H-1B visa fee
These ETF mistakes can ‘quietly erode long-term returns,’ advisor says
Dow rises 200 points Friday as investors bet bank credit concerns are not serious: Live updates
Gold's record run leads to latest market-moving tweak to the classic 60/40 investing portfolio
Small businesses are being crushed by Trump's tariffs and economists say it's a warning for the economy
What student loan borrowers can and can't do, as the government shutdown stretches on
Former Trump official John Bolton pleads not guilty to criminal charges