*BREAKING – update query firing on every page load unecessary db write requests
Viewing 6 reply threads
Viewing 6 reply threads
You must be logged in to reply to this topic. You can click here
Premium WordPress Themes, Plugins, SEO Friendly › Forums › LearnPress › *BREAKING – update query firing on every page load unecessary db write requests
Hi,
Before learnpress install we see only select queries. This is vanilla wp install.
https://prnt.sc/_e_8eLfns24h
After learnpress install there is an update query. update_option(‘rewrite_rules’). This is vanilla lp install with a dummy course.
https://prnt.sc/2tXbB1TxLwNI
The update query interferes with all caching systems as well.
I didn’t understand. Creating custom posttypes doesn’t lead to update operation.
Can you point out the actual core files from where this query is being triggered so we can also assess if anything can be done.
Thanks
Hi Julia,
Can you elaborate a bit more? The update query doesn’t happen with Woocommerce as you have stated. can you point out to specific core file that fires WP_Rewrite->flush_rules.
thanks,
It is not happening without learnpress. I have shared screenshot with learnpress disabled. can you now suggest the exact learnpress core file from where this is happening please?
thank you
it would be a WordPress problem if it happened without activating learnpress.
You must be logged in to reply to this topic. You can click here
Not a member yet? Sign up now