Answered: Infinite loading when delete question or post an answer

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

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:
A streaming stock risks diving below its key support level this week. Here's what else Jay Woods is watching
Jim Cramer says tech remains the market's best place to find big winners despite recent struggles
Inflation reports expected to show improvement with a caveat; Warsh heads to Capitol Hill
Waller says Fed shouldn't 'fight the last war' on inflation but warns hikes still possible
Tuesday's big stock stories: What’s likely to move the market in the next trading session
SpaceX stock sinks for a second-straight day, nearing $135 IPO price
So if I'm breaking old patterns...do I let the ball drop now?
Movie: Little Brother
Star City: The Wolves
Trump's Hormuz toll plans bring oil supply risks back in spotlight