Ticket #41697: 41697-2.patch
File 41697-2.patch, 578 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/ms-functions.php
2214 2214 function is_user_option_local( $key, $user_id = 0, $blog_id = 0 ) { 2215 2215 global $wpdb; 2216 2216 2217 $current_user = wp_get_current_user(); 2217 if ( $user_id && is_numeric( $user_id ) ) { 2218 $current_user = get_user_by( 'id', $user_id ); 2219 } else { 2220 $current_user = wp_get_current_user(); 2221 } 2222 2218 2223 if ( $blog_id == 0 ) { 2219 2224 $blog_id = $wpdb->blogid; 2220 2225 }