WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/18/2010 10:51:36 PM (10 years ago)
Author:
scribu
Message:

Fix user pagination. Props duck_. Fixes #15479

File:
1 edited

Legend:

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

    r16365 r16473  
    440440        if ( $qv['number'] ) {
    441441            if ( $qv['offset'] )
    442                 $this->query_limit = $wpdb->prepare(" LIMIT %d, %d", $qv['offset'], $qv['offset'] + $qv['number']);
     442                $this->query_limit = $wpdb->prepare(" LIMIT %d, %d", $qv['offset'], $qv['number']);
    443443            else
    444444                $this->query_limit = $wpdb->prepare(" LIMIT %d", $qv['number']);
Note: See TracChangeset for help on using the changeset viewer.