Answered: Infinite loading when delete question or post an answer

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

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:
Nearly half the stocks in the S&P 500 are at cross purposes with the rest of the market
Tuesday's big stock stories: What’s likely to move the market in the next trading session
CNBC's The China Connection newsletter: Spectacle-heavy Trump-Xi summit was more about domestic messaging
Feds can't withhold counterterrorism funds from states to force election admin changes, judge rules
Senate tees up college sports bill aimed at regulating NIL deals
Help me adapt to the fully-remote / digital home-ad lifestyle
Can I use this cat shelf idea safely?
Trump announces plan for $15 billion steel plant, would be largest in U.S. history
Anthropic's IPO prospectus shows sweeping AI vision, surging costs: Reuters
Boeing 737 Max 10 certification delayed by software issue, FAA says