add_action( ‘wp_loaded’, $public, ‘maybe_flush_rules’ )
-
Would you mind changing the priority of this action to
11
? The reason, any plugins that register rewrite tags onwp_loaded
at the default priority and happen to be run aftermaybe_flush_rules
callback will have their rewrite rules flushed therefore breaking their permalinks.Here’s the link to the code:
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘add_action( ‘wp_loaded’, $public, ‘maybe_flush_rules’ )’ is closed to new replies.