From a0dda37340a425c2c220fb26d961eb2c586f2189 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Fri, 17 Jun 2016 10:12:17 -0400 Subject: [PATCH] revert flush_rules change --- setup/frontHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/frontHooks.php b/setup/frontHooks.php index 4a1bf75b..6a80ea8b 100644 --- a/setup/frontHooks.php +++ b/setup/frontHooks.php @@ -44,7 +44,7 @@ add_filter('init', function() { $rules = get_option( 'rewrite_rules' ); if ( ! isset( $rules['('.$this->config['settings']['canonical_member_page'].')/([^/]*)$'] ) ) { global $wp_rewrite; -// Seems to cause loss of rewrite rules -Need to investigate $wp_rewrite->flush_rules(); + $wp_rewrite->flush_rules(); } }); -- 2.17.1