WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/19/2010 07:48:22 AM (9 years ago)
Author:
nacin
Message:

Pinking shears.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r15833 r15843  
    643643    $order_meta    = get_user_meta( $user_id, 'blog_order' );
    644644    $visible_meta  = get_user_meta( $user_id, 'blog_visibility' );
    645    
     645
    646646    $order = $order_meta;
    647647    if ( !is_array( $order ) )
     
    651651    if ( !is_array( $visible ) )
    652652        $visible = array();
    653    
     653
    654654    // Index the blogs by userblog_id and set the visibility flag
    655655    // Visibility is on by default, unless a linked site then off
     
    668668        if ( is_object( $id ) && isset( $id->userblog_id ) )
    669669            $id = $id->userblog_id;
    670            
     670       
    671671        if ( is_numeric( $id ) && isset( $newblogs[intval( $id )] ) ) {
    672672            $ordered[$id] = $newblogs[$id];
     
    725725function is_blog_user( $blog_id = 0 ) {
    726726    global $wpdb;
    727  
     727
    728728    $current_user = wp_get_current_user();
    729729    if ( !$blog_id )
Note: See TracChangeset for help on using the changeset viewer.