diff --git a/src/wp-includes/widgets/class-wp-widget-categories.php b/src/wp-includes/widgets/class-wp-widget-categories.php index 21e375eddc..f208db9481 100644 --- a/src/wp-includes/widgets/class-wp-widget-categories.php +++ b/src/wp-includes/widgets/class-wp-widget-categories.php @@ -59,10 +59,11 @@ class WP_Widget_Categories extends WP_Widget { $cat_args = array( 'orderby' => 'name', 'show_count' => $c, - 'hierarchical' => $h + 'hierarchical' => $h, ); if ( $d ) { + echo sprintf( '
', esc_url( home_url() ) ); $dropdown_id = ( $first_dropdown ) ? 'cat' : "{$this->id_base}-dropdown-{$this->number}"; $first_dropdown = false; @@ -81,6 +82,8 @@ class WP_Widget_Categories extends WP_Widget { * @param array $cat_args An array of Categories widget drop-down arguments. */ wp_dropdown_categories( apply_filters( 'widget_categories_dropdown_args', $cat_args ) ); + + echo '
'; ?>