Changeset 55209 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 02/03/2023 12:46:18 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r55162 r55209 2048 2048 $filename = str_replace( $special_chars, '', $filename ); 2049 2049 $filename = str_replace( array( '%20', '+' ), '-', $filename ); 2050 $filename = preg_replace( '/\.{2,}/', '.', $filename ); 2050 2051 $filename = preg_replace( '/[\r\n\t -]+/', '-', $filename ); 2051 2052 $filename = trim( $filename, '.-_' );
Note: See TracChangeset
for help on using the changeset viewer.