Make WordPress Core

Changeset 28551


Ignore:
Timestamp:
05/22/2014 07:17:12 PM (10 years ago)
Author:
wonderboymusic
Message:

In is_user_option_local(), $user_id is set conditionally, but never used.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r27834 r28551  
    20792079
    20802080    $current_user = wp_get_current_user();
    2081     if ( $user_id == 0 )
    2082         $user_id = $current_user->ID;
    2083     if ( $blog_id == 0 )
     2081    if ( $blog_id == 0 ) {
    20842082        $blog_id = $wpdb->blogid;
    2085 
     2083    }
    20862084    $local_key = $wpdb->get_blog_prefix( $blog_id ) . $key;
    20872085
Note: See TracChangeset for help on using the changeset viewer.