projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f60d11
)
revert flush_rules change
author
Chuck Scott
<cscott@gaslightmedia.com>
Fri, 17 Jun 2016 14:12:54 +0000
(10:12 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Fri, 17 Jun 2016 14:13:06 +0000
(10:13 -0400)
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
36071ca
..
7a42048
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_event_page'].')/([^/]*)$'] ) ) {
global $wp_rewrite;
-
// Seems to cause loss of rewrite rules -Need to investigate
$wp_rewrite->flush_rules();
+ $wp_rewrite->flush_rules();
}
});