WordPress.org

Make WordPress Core

Ticket #17344: ms-functions.diff

File ms-functions.diff, 526 bytes (added by eightamrock, 3 years ago)

SVN Diff file with bug fix.

  • wp-includes/ms-functions.php

     
    289289                $wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET post_author = %d WHERE post_author = %d", $reassign, $user_id) ); 
    290290                $wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d", $reassign, $user_id) ); 
    291291        } 
    292  
     292         
    293293        restore_current_blog(); 
     294        return true; 
    294295} 
    295296 
    296297/**