use delete_option vs update_option, see #12383
git-svn-id: http://svn.automattic.com/wordpress/trunk@13511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
093beae9f1
commit
45325c3d41
|
@ -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