Ticket #28631: 28631-2.diff
File 28631-2.diff, 508 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/user.php
598 598 $this->query_orderby = "ORDER BY $orderby $order"; 599 599 600 600 // limit 601 if ( isset( $qv['number'] ) && $qv['number'] ) {601 if ( isset( $qv['number'] ) && $qv['number'] > 0 ) { 602 602 if ( $qv['offset'] ) 603 603 $this->query_limit = $wpdb->prepare("LIMIT %d, %d", $qv['offset'], $qv['number']); 604 604 else