Merge pull request #1376 from mailpoet/mp1392
Dont call flush_rewrite in init [MAILPOET-1392]
This commit is contained in:
@@ -37,7 +37,6 @@ class Pages {
|
||||
'post_title' => __('MailPoet Page', 'mailpoet'),
|
||||
'post_name' => 'subscriptions'
|
||||
));
|
||||
flush_rewrite_rules();
|
||||
|
||||
return ((int)$id > 0) ? (int)$id : false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user