mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 07:14:28 +00:00
Don't flush rules for every post imported. see #7193
git-svn-id: https://develop.svn.wordpress.org/trunk@9101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -120,6 +120,10 @@ if (isset($plugin_page)) {
|
||||
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
// Make sure rules are flushed
|
||||
global $wp_rewrite;
|
||||
$wp_rewrite->flush_rules();
|
||||
|
||||
exit();
|
||||
} else {
|
||||
do_action("load-$pagenow");
|
||||
|
||||
Reference in New Issue
Block a user