Initialize a variable. fixes #15025.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-04 08:48:43 +00:00
parent da4b33fc83
commit 80b2f75bb9
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ default:
if ( !is_file($file) )
$error = 1;
$content = '';
if ( !$error && filesize($file) > 0 ) {
$f = fopen($file, 'r');
$content = fread($f, filesize($file));