projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6fa336
)
revert flush_rules change
author
Chuck Scott
<cscott@gaslightmedia.com>
Fri, 17 Jun 2016 14:12:17 +0000
(10:12 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Fri, 17 Jun 2016 14:12:17 +0000
(10:12 -0400)
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
4a1bf75
..
6a80ea8
100644
(file)
--- 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();
}
});