diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 72cb117de..7daeba199 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -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));