Make WordPress Core

Changeset 35138


Ignore:
Timestamp:
10/13/2015 03:44:14 PM (9 years ago)
Author:
DrewAPicture
Message:

Users: Restore changes from [35114] accidentally reverted in [35135].

See #28631.

File:
1 edited

Legend:

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

    r35135 r35138  
    423423
    424424        // limit
    425         if ( isset( $qv['number'] ) && $qv['number'] ) {
     425        if ( isset( $qv['number'] ) && $qv['number'] > 0 ) {
    426426            if ( $qv['offset'] ) {
    427427                $this->query_limit = $wpdb->prepare("LIMIT %d, %d", $qv['offset'], $qv['number']);
Note: See TracChangeset for help on using the changeset viewer.