WordPress.org

Make WordPress Core

Changeset 18906


Ignore:
Timestamp:
10/06/2011 07:13:44 PM (10 years ago)
Author:
ryan
Message:

Do only one empty check. Clean up whitespace. Props SergeyBiryukov. see #15458

File:
1 edited

Legend:

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

    r18905 r18906  
    685685        $userkeys = get_user_meta( (int) $id );
    686686        if ( empty( $userkeys ) )
    687                         return false;
     687            return false;
    688688        $userkeys = array_keys( $userkeys );
    689         if ( empty( $userkeys ) )
    690             return false;
    691689
    692690        $blogs = $match = array();
Note: See TracChangeset for help on using the changeset viewer.