Plugin Updates
This commit is contained in:
@@ -818,13 +818,13 @@ class WP_User_Query {
|
||||
$this->results = apply_filters_ref_array( 'users_pre_query', array( null, &$this ) );
|
||||
|
||||
if ( null === $this->results ) {
|
||||
$this->request = "
|
||||
SELECT {$this->query_fields}
|
||||
{$this->query_from}
|
||||
{$this->query_where}
|
||||
{$this->query_orderby}
|
||||
{$this->query_limit}
|
||||
";
|
||||
// Beginning of the string is on a new line to prevent leading whitespace. See https://core.trac.wordpress.org/ticket/56841.
|
||||
$this->request =
|
||||
"SELECT {$this->query_fields}
|
||||
{$this->query_from}
|
||||
{$this->query_where}
|
||||
{$this->query_orderby}
|
||||
{$this->query_limit}";
|
||||
$cache_value = false;
|
||||
$cache_key = $this->generate_cache_key( $qv, $this->request );
|
||||
$cache_group = 'user-queries';
|
||||
|
||||
Reference in New Issue
Block a user