diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-02-13 15:41:30 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-02-13 15:41:30 +0000 |
| commit | e7795c365acf331aaf2f902fe1f27e72ff15775c (patch) | |
| tree | d8cb13e9dc80a767b133769ee5090de31c512945 /wp-admin/wpmu-edit.php | |
| parent | a52c988555ca239f44ac8aa779068e1d2f9a446e (diff) | |
| download | wordpress-mu-e7795c365acf331aaf2f902fe1f27e72ff15775c.tar.gz wordpress-mu-e7795c365acf331aaf2f902fe1f27e72ff15775c.tar.xz wordpress-mu-e7795c365acf331aaf2f902fe1f27e72ff15775c.zip | |
Added get_user_id_from_string()
Make editing a blog much faster
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@884 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-edit.php')
| -rw-r--r-- | wp-admin/wpmu-edit.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index e0168e6..2078ba5 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -159,8 +159,15 @@ switch( $_REQUEST[ 'action' ] ) { $_POST[ 'option' ][ 'allowed_themes' ] = ''; } if( is_array( $_POST[ 'option' ] ) ) { + $c = 1; + $count = count( $_POST[ 'option' ] ); while( list( $key, $val ) = each( $_POST[ 'option' ] ) ) { - update_blog_option( $id, $key, $val ); + if( $c == $count ) { + update_blog_option( $id, $key, $val ); + } else { + update_blog_option( $id, $key, $val, false ); // no need to refresh blog details yet + } + $c++; } } // update blogs table |
