Changeset 55654
- Timestamp:
- 04/17/2023 04:59:57 PM (18 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user-query.php
r54766 r55654 690 690 691 691 if ( $search ) { 692 $leading_wild = ( ltrim( $search, '*' ) != $search );693 $trailing_wild = ( rtrim( $search, '*' ) != $search );692 $leading_wild = ( ltrim( $search, '*' ) !== $search ); 693 $trailing_wild = ( rtrim( $search, '*' ) !== $search ); 694 694 if ( $leading_wild && $trailing_wild ) { 695 695 $wild = 'both'; -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r55642 r55654 5663 5663 foreach ( $enclosures as $enc ) { 5664 5664 // This method used to omit the trailing new line. #23219 5665 if ( rtrim( $enc, "\n" ) == rtrim( $encstring, "\n" ) ) {5665 if ( rtrim( $enc, "\n" ) === rtrim( $encstring, "\n" ) ) { 5666 5666 $found = true; 5667 5667 break;
Note: See TracChangeset
for help on using the changeset viewer.