From bf4016971012a9640b86ec300fc666a1de331de1 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 22 Apr 2008 21:24:34 +0000 Subject: [PATCH] Silence ini_get warnings. fixes #6787 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@7774 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index fda1259163..a4894fbcc1 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -91,7 +91,7 @@ class WP_Scripts { // these error messages came from the sample swfupload js, they might need changing. $this->localize( 'swfupload-handlers', 'swfuploadL10n', array( 'queue_limit_exceeded' => __('You have attempted to queue too many files.'), - 'file_exceeds_size_limit' => sprintf(__('This file is too big. Your php.ini upload_max_filesize is %s.'), ini_get('upload_max_filesize')), + 'file_exceeds_size_limit' => sprintf(__('This file is too big. Your php.ini upload_max_filesize is %s.'), @ini_get('upload_max_filesize')), 'zero_byte_file' => __('This file is empty. Please try another.'), 'invalid_filetype' => __('This file type is not allowed. Please try another.'), 'default_error' => __('An error occurred in the upload. Please try again later.'),