WordPress.org

Make WordPress Core

Changeset 24441


Ignore:
Timestamp:
06/19/13 08:13:49 (21 months ago)
Author:
nacin
Message:

Avoid a fatal error in WP_User_Query. See #23683, [23664]. For the 3.5 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5/wp-includes/user.php

    r23225 r24441  
    475475                elseif ( is_numeric($search) ) 
    476476                    $search_columns = array('user_login', 'ID'); 
    477                 elseif ( preg_match('|^https?://|', $search) && ! wp_is_large_network( 'users' ) ) 
     477                elseif ( preg_match('|^https?://|', $search) && ! ( is_multisite() && function_exists( 'wp_is_large_network' ) && wp_is_large_network( 'users' ) ) ) 
    478478                    $search_columns = array('user_url'); 
    479479                else 
Note: See TracChangeset for help on using the changeset viewer.