Restore radios for MS site flags, as the schema supports other values. see #12832

git-svn-id: http://svn.automattic.com/wordpress/trunk@14277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2010-04-28 08:15:45 +00:00
parent 033aac697c
commit bebdadc1b0
2 changed files with 14 additions and 15 deletions

View File

@@ -248,9 +248,6 @@ switch ( $_GET['action'] ) {
// update blogs table
$blog_data = stripslashes_deep( $_POST['blog'] );
$blog_data_checkboxes = array( 'public', 'archived', 'spam', 'mature', 'deleted' );
foreach ( $blog_data_checkboxes as $c )
$blog_data[ $c ] = ! empty( $_POST['blog'][ $c ] );
update_blog_details( $id, $blog_data );
// get blog prefix