From 7c61a32074f248bb31281042e4f98ec18ae1b0a0 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 4 May 2007 02:23:49 +0000 Subject: [PATCH] Add 'Select' text to the dropdowns. Props Joseph Scott. git-svn-id: https://develop.svn.wordpress.org/trunk@5381 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/widgets.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index aba6745f21..7d4c770ffc 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -344,7 +344,7 @@ function wp_widget_archives($args) { if($d) { ?> - + @@ -539,13 +539,15 @@ function wp_widget_categories($args) { $cat_args = "orderby=name&show_count={$c}&hierarchical={$h}"; if($d) { - wp_dropdown_categories($cat_args); + wp_dropdown_categories($cat_args . '&show_option_none= ' . __('Select Category')); ?> @@ -893,4 +895,4 @@ function wp_widgets_init() { add_action('init', 'wp_widgets_init', 1); -?> \ No newline at end of file +?>