Changeset 55988 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 06/22/2023 02:34:56 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r55887 r55988 1016 1016 } 1017 1017 1018 if ( false !== strpos( $qv['feed'], 'comments-' ) ) {1018 if ( str_contains( $qv['feed'], 'comments-' ) ) { 1019 1019 $qv['feed'] = str_replace( 'comments-', '', $qv['feed'] ); 1020 1020 $qv['withcomments'] = 1; … … 1186 1186 } 1187 1187 1188 if ( str pos( $term, '+' ) !== false) {1188 if ( str_contains( $term, '+' ) ) { 1189 1189 $terms = preg_split( '/[+]+/', $term ); 1190 1190 foreach ( $terms as $term ) { … … 1299 1299 1300 1300 if ( '' !== $q['tag'] && ! $this->is_singular && $this->query_vars_changed ) { 1301 if ( str pos( $q['tag'], ',' ) !== false) {1301 if ( str_contains( $q['tag'], ',' ) ) { 1302 1302 $tags = preg_split( '/[,\r\n\t ]+/', $q['tag'] ); 1303 1303 foreach ( (array) $tags as $tag ) { … … 2355 2355 2356 2356 if ( '' !== $q['author_name'] ) { 2357 if ( str pos( $q['author_name'], '/' ) !== false) {2357 if ( str_contains( $q['author_name'], '/' ) ) { 2358 2358 $q['author_name'] = explode( '/', $q['author_name'] ); 2359 2359 if ( $q['author_name'][ count( $q['author_name'] ) - 1 ] ) { … … 4755 4755 4756 4756 $content = $post->post_content; 4757 if ( false !== strpos( $content, '<!--nextpage-->' ) ) {4757 if ( str_contains( $content, '<!--nextpage-->' ) ) { 4758 4758 $content = str_replace( "\n<!--nextpage-->\n", '<!--nextpage-->', $content ); 4759 4759 $content = str_replace( "\n<!--nextpage-->", '<!--nextpage-->', $content );
Note: See TracChangeset
for help on using the changeset viewer.