Changeset 56178 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 07/09/2023 09:23:34 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r56019 r56178 1617 1617 } 1618 1618 1619 // Sanity limit, sort as sentence when more than 6 terms 1620 // (few searches are longer than 6 terms and most titles are not). 1619 /* 1620 * Sanity limit, sort as sentence when more than 6 terms 1621 * (few searches are longer than 6 terms and most titles are not). 1622 */ 1621 1623 if ( $num_terms < 7 ) { 1622 1624 // All words in title. … … 3510 3512 } 3511 3513 3512 // Ensure that any posts added/modified via one of the filters above are 3513 // of the type WP_Post and are filtered. 3514 /* 3515 * Ensure that any posts added/modified via one of the filters above are 3516 * of the type WP_Post and are filtered. 3517 */ 3514 3518 if ( $this->posts ) { 3515 3519 $this->post_count = count( $this->posts ); … … 3554 3558 global $wpdb; 3555 3559 3556 // Bail if posts is an empty array. Continue if posts is an empty string, 3557 // null, or false to accommodate caching plugins that fill posts later. 3560 /* 3561 * Bail if posts is an empty array. Continue if posts is an empty string, 3562 * null, or false to accommodate caching plugins that fill posts later. 3563 */ 3558 3564 if ( $q['no_found_rows'] || ( is_array( $this->posts ) && ! $this->posts ) ) { 3559 3565 return;
Note: See TracChangeset
for help on using the changeset viewer.