WordPress.org

Make WordPress Core

Ticket #15479: 15479.diff

File 15479.diff, 539 bytes (added by duck_, 8 years ago)
  • wp-includes/user.php

     
    439439                // limit
    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']);
    445445                }