Ticket #45582: 45582.2.diff
File 45582.2.diff, 644 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/class-wp-site-query.php
420 420 421 421 $number = absint( $this->query_vars['number'] ); 422 422 $offset = absint( $this->query_vars['offset'] ); 423 423 $limits = ''; 424 424 if ( ! empty( $number ) ) { 425 425 if ( $offset ) { 426 426 $limits = 'LIMIT ' . $offset . ',' . $number; … … 570 570 } 571 571 572 572 $join = ''; 573 573 $groupby = ''; 574 574 if ( ! empty( $this->meta_query_clauses ) ) { 575 575 $join .= $this->meta_query_clauses['join']; 576 576