diff options
Diffstat (limited to 'wp-includes/formatting.php')
| -rw-r--r-- | wp-includes/formatting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index d1ec74c..26b8158 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -288,7 +288,7 @@ function remove_accents($string) { return $string; } -function sanitize_file( $name ) { // Like sanitize_title, but with periods +function sanitize_file_name( $name ) { // Like sanitize_title, but with periods $name = strtolower( $name ); $name = preg_replace('/&.+?;/', '', $name); // kill entities $name = str_replace( '_', '-', $name ); |
