use delete_option vs update_option, see #12383
git-svn-id: https://develop.svn.wordpress.org/trunk@13511 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1cc5b31283
commit
fedda523ec
|
@ -219,7 +219,7 @@ switch ( $_GET['action'] ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// rewrite rules can't be flushed during switch to blog
|
// rewrite rules can't be flushed during switch to blog
|
||||||
update_option( 'rewrite_rules', '' );
|
delete_option( 'rewrite_rules' );
|
||||||
|
|
||||||
// update blogs table
|
// update blogs table
|
||||||
$blog_data = stripslashes_deep($_POST[ 'blog' ]);
|
$blog_data = stripslashes_deep($_POST[ 'blog' ]);
|
||||||
|
|
Loading…
Reference in New Issue