From a117773fc830a6d720bda83df620c8c547a55588 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 21 Jul 2011 17:46:01 +0000 Subject: [PATCH] Typo fix. Props kawauso. fixes #18177 git-svn-id: http://svn.automattic.com/wordpress/trunk@18447 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 04bb40392e..c535a1b637 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -261,7 +261,7 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) { __( "Failed to write file to disk." ), __( "File upload stopped by extension." )); - // All tests are on by default. Most can be turned off by $override[{test_name}] = false; + // All tests are on by default. Most can be turned off by $overrides[{test_name}] = false; $test_form = true; $test_size = true; $test_upload = true; @@ -387,7 +387,7 @@ function wp_handle_sideload( &$file, $overrides = false ) { __( "Failed to write file to disk." ), __( "File upload stopped by extension." )); - // All tests are on by default. Most can be turned off by $override[{test_name}] = false; + // All tests are on by default. Most can be turned off by $overrides[{test_name}] = false; $test_form = true; $test_size = true;