mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -230,7 +230,7 @@ function update_blog_details( $blog_id, $details = array() ) {
|
||||
foreach ( array_intersect( array_keys( $details ), $fields ) as $field )
|
||||
$update_details[$field] = $details[$field];
|
||||
|
||||
$result = $wpdb->update( $wpdb->blogs, $update_details, array('blog_id' => $blog_id) );
|
||||
$wpdb->update( $wpdb->blogs, $update_details, array('blog_id' => $blog_id) );
|
||||
|
||||
// If spam status changed, issue actions.
|
||||
if ( $details[ 'spam' ] != $current_details[ 'spam' ] ) {
|
||||
|
||||
Reference in New Issue
Block a user