diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 46c4a3a370..c78fa82e49 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -248,7 +248,13 @@ function wp_list_categories($args = '') { $output .= __("No categories"); } else { global $wp_query; - + + if( !empty($show_option_all) ) + if ('list' == $style ) + $output .= '
  • ' . $show_option_all . '
  • '; + else + $output .= '' . $show_option_all . ''; + if ( is_category() ) $r['current_category'] = $wp_query->get_queried_object_id();