Changeset 55990 for trunk/src/wp-includes/post.php
- Timestamp:
- 06/22/2023 02:55:47 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r55988 r55990 6763 6763 while ( false !== $file = readdir( $dh ) ) { 6764 6764 $file = wp_basename( $file ); 6765 if ( '.' === substr( $file, 0, 1) ) {6765 if ( str_starts_with( $file, '.' ) ) { 6766 6766 continue; 6767 6767 } … … 7814 7814 $post = get_post( $post ); 7815 7815 7816 if ( '__trashed' === substr( $post->post_name, -9) ) {7816 if ( str_ends_with( $post->post_name, '__trashed' ) ) { 7817 7817 return $post->post_name; 7818 7818 }
Note: See TracChangeset
for help on using the changeset viewer.