Changeset 56019 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 06/24/2023 04:48:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r55988 r56019 1462 1462 foreach ( $q['search_terms'] as $term ) { 1463 1463 // If there is an $exclusion_prefix, terms prefixed with it should be excluded. 1464 $exclude = $exclusion_prefix && ( substr( $term, 0, 1 ) ===$exclusion_prefix );1464 $exclude = $exclusion_prefix && str_starts_with( $term, $exclusion_prefix ); 1465 1465 if ( $exclude ) { 1466 1466 $like_op = 'NOT LIKE';
Note: See TracChangeset
for help on using the changeset viewer.