Initialize a variable. fixes #15025.
git-svn-id: https://develop.svn.wordpress.org/trunk@15699 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5255794ad1
commit
8e067e926c
@ -100,6 +100,7 @@ default:
|
|||||||
if ( !is_file($file) )
|
if ( !is_file($file) )
|
||||||
$error = 1;
|
$error = 1;
|
||||||
|
|
||||||
|
$content = '';
|
||||||
if ( !$error && filesize($file) > 0 ) {
|
if ( !$error && filesize($file) > 0 ) {
|
||||||
$f = fopen($file, 'r');
|
$f = fopen($file, 'r');
|
||||||
$content = fread($f, filesize($file));
|
$content = fread($f, filesize($file));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user