Changeset 12806 for trunk/wp-admin/ms-edit.php
- Timestamp:
- 01/22/2010 11:35:59 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/ms-edit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-edit.php
r12796 r12806 184 184 185 185 // themes 186 if ( is _array( $_POST[ 'theme' ] ) )186 if ( isset($_POST[ 'theme' ]) && is_array( $_POST[ 'theme' ] ) ) 187 187 $_POST[ 'option' ][ 'allowedthemes' ] = $_POST[ 'theme' ]; 188 188 else … … 216 216 // update blogs table 217 217 $blog_data = stripslashes_deep($_POST[ 'blog' ]); 218 $result = $wpdb->update( $wpdb->blogs, $blog_data, array('blog_id' => $id) ); 219 220 update_blog_status( $id, 'spam', $_POST[ 'blog' ][ 'spam' ] ); 221 update_option( 'blog_public', $_POST[ 'blog' ][ 'public' ] ); 218 update_blog_details($id, $blog_data); 222 219 223 220 // get blog prefix … … 238 235 239 236 // remove user 240 if ( is _array( $_POST[ 'blogusers' ] ) ) {237 if ( isset($_POST[ 'blogusers' ]) && is_array( $_POST[ 'blogusers' ] ) ) { 241 238 reset( $_POST[ 'blogusers' ] ); 242 239 foreach ( (array) $_POST[ 'blogusers' ] as $key => $val )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)