Answered: Infinite loading when delete question or post an answer

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

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:
Saudi military strikes Houthi targets in Yemen after Iran-backed militia attacked Red Sea shipping
Tell me of your cold noodle recipes
Trump sued hours after new tariffs take effect, as experts say they may not hold up
Meta likely to highlight smart glasses, avoid social media policy on upcoming earnings call, Kalshi traders say
UPS expects third-quarter domestic revenue to be flat but CEO tells CNBC the company is through its 'bumps'
Iran hosts Hormuz calls with Saudi Arabia, Oman as Trump hails ‘good talks’
New Republican ads slam Democrats opposed to Trump's tariffs
Visa is cutting 7% of employees in efficiency push as AI reshapes work
The future of Wall Street is here as startups and brokers build AI agents to trade 24/7
Movie: Forbidden Fruits