From 88f9863cf236d9743b123302f7edfe8b1ec9e9f1 Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Thu, 20 Sep 2012 10:24:27 -0600 Subject: [PATCH] Fix initial display --- lib/widgets.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widgets.php b/lib/widgets.php index 5e52424..be8c3ba 100644 --- a/lib/widgets.php +++ b/lib/widgets.php @@ -121,10 +121,11 @@ class Roots_Vcard_Widget extends WP_Widget { function form($instance) { foreach($this->fields as $name => $label) { + ${$name} = isset($instance[$name]) ? esc_attr($instance[$name]) : ''; ?>

- +