From 138e33a587febdb0b8f824b01df411512b3e9e6f Mon Sep 17 00:00:00 2001 From: Erick Hitter <ehitter@gmail.com> Date: Sun, 25 Aug 2013 11:40:35 -0400 Subject: [PATCH] Markup output formatting for the widget --- tag-dropdown-widget.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php index 100f308..72b0286 100644 --- a/tag-dropdown-widget.php +++ b/tag-dropdown-widget.php @@ -383,16 +383,16 @@ class taxonomy_dropdown_widget extends WP_Widget { // Widget if ( $widget = $this->plugin->render_dropdown( $instance, $this->number ) ) { // Wrapper and title - $output = $before_widget; + $output = $before_widget . "\r\n"; if ( ! empty( $title ) ) - $output .= $before_title . apply_filters( 'taxonomy_dropdown_widget_title', '<label for="taxonomy_dropdown_widget_dropdown_' . $this->number . '">' . $title . '</label>', $this->number ) . $after_title; + $output .= $before_title . apply_filters( 'taxonomy_dropdown_widget_title', '<label for="taxonomy_dropdown_widget_dropdown_' . $this->number . '">' . $title . '</label>', $this->number ) . $after_title . "\r\n"; // Widget - $output .= $widget; + $output .= $widget . "\r\n"; // Wrapper - $output .= $after_widget; + $output .= $after_widget . "\r\n"; echo $output; } -- GitLab