Changeset 49858
- Timestamp:
- 12/21/2020 06:23:21 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r49513 r49858 2035 2035 // Return if only one extension. 2036 2036 if ( count( $parts ) <= 2 ) { 2037 /** 2038 * Filters a sanitized filename string. 2039 * 2040 * @since 2.8.0 2041 * 2042 * @param string $filename Sanitized filename. 2043 * @param string $filename_raw The filename prior to sanitization. 2044 */ 2037 /** This filter is documented in wp-includes/formatting.php */ 2045 2038 return apply_filters( 'sanitize_file_name', $filename, $filename_raw ); 2046 2039 } … … 2075 2068 $filename .= '.' . $extension; 2076 2069 2077 /** This filter is documented in wp-includes/formatting.php */ 2070 /** 2071 * Filters a sanitized filename string. 2072 * 2073 * @since 2.8.0 2074 * 2075 * @param string $filename Sanitized filename. 2076 * @param string $filename_raw The filename prior to sanitization. 2077 */ 2078 2078 return apply_filters( 'sanitize_file_name', $filename, $filename_raw ); 2079 2079 }
Note: See TracChangeset
for help on using the changeset viewer.