summaryrefslogtreecommitdiffstats
path: root/wp-includes/formatting.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-10 11:53:05 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-10 11:53:05 +0000
commita35bb9df8c7816a6facf68ff963d5350999befe4 (patch)
tree938afe326a64560dcc79f2888c6fc97f848e2eaa /wp-includes/formatting.php
parentb27bbc0cfea92cfbbfd34a8e2f65b026086e99b2 (diff)
downloadwordpress-mu-a35bb9df8c7816a6facf68ff963d5350999befe4.tar.gz
wordpress-mu-a35bb9df8c7816a6facf68ff963d5350999befe4.tar.xz
wordpress-mu-a35bb9df8c7816a6facf68ff963d5350999befe4.zip
WP Merge to rev 4714
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@839 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/formatting.php')
-rw-r--r--wp-includes/formatting.php2
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 );