'My_Widget', 'description' => My widget demonstration' ); $this->WP_Widget('My_Widget', 'My Widget', $widget_ops); } function update($new_instance, $old_instance) { $instance = $old_instance; $instance['title'] = strip_tags(stripslashes($new_instance['title'])); $instance['message'] = $new_instance['message']; return $instance; } function form($instance) { $defaults = array( 'title' => 'My Widget', 'message' => ' This I tag is the source of the problem' ); $instance = wp_parse_args($instance, $defaults); $title = esc_attr($instance['title']); $message = esc_attr($instance['message']); ?>