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:
parent
da4b33fc83
commit
80b2f75bb9
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue