Merge pull request #1376 from mailpoet/mp1392

Dont call flush_rewrite in init [MAILPOET-1392]
This commit is contained in:
Michelle Shull
2018-06-05 06:38:14 -04:00
committed by GitHub

View File

@@ -37,7 +37,6 @@ class Pages {
'post_title' => __('MailPoet Page', 'mailpoet'),
'post_name' => 'subscriptions'
));
flush_rewrite_rules();
return ((int)$id > 0) ? (int)$id : false;
}