Use get_blog_prefix() in another MU function. see #19891.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-01-25 00:10:46 +00:00
parent b925695170
commit b96deccca8
1 changed files with 1 additions and 1 deletions

View File

@ -1860,7 +1860,7 @@ function is_user_option_local( $key, $user_id = 0, $blog_id = 0 ) {
if ( $blog_id == 0 )
$blog_id = $wpdb->blogid;
$local_key = $wpdb->base_prefix . $blog_id . '_' . $key;
$local_key = $wpdb->get_blog_prefix( $blog_id ) . $key;
if ( isset( $current_user->$local_key ) )
return true;