From 80b2f75bb9158a0629f3249f2166be94fba530f6 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 4 Oct 2010 08:48:43 +0000 Subject: [PATCH] Initialize a variable. fixes #15025. git-svn-id: http://svn.automattic.com/wordpress/trunk@15699 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/theme-editor.php | 1 + 1 file changed, 1 insertion(+) 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));