$wp_rewrite->flush_rules() needs to be removed
-
You HAVE to remove
global $wp_rewrite; $wp_rewrite->flush_rules()
from lines 353 and 354, this is causing WP to re-generate the rules every time someone hits the site, which needlessly increments the options, which in turn bloats the database, and completely destroys the performance of websites.
This is a nicely designed plugin, but you have to remove those lines.
https://www.ads-software.com/plugins/custom-post-type-maker/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘$wp_rewrite->flush_rules() needs to be removed’ is closed to new replies.