Changeset 56016
- Timestamp:
- 06/24/2023 01:38:44 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r56015 r56016 483 483 */ 484 484 function str_ends_with( $haystack, $needle ) { 485 if ( '' === $haystack && '' !== $needle) {486 return false;485 if ( '' === $haystack ) { 486 return '' === $needle; 487 487 } 488 488
Note: See TracChangeset
for help on using the changeset viewer.