From 85e815bf00f6a27fbe1ed1fb3e0d3e2a2a7fe040 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 16 Apr 2008 14:40:34 +0000 Subject: Applied patch in #590 by momo360modena and fixed a minor bug with blog searching git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1237 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/wpmu-functions.php | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'wp-includes') diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index e7f3fe0..7c72ba0 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -1774,19 +1774,30 @@ add_filter( 'term_id_filter', 'global_terms', 10, 2 ); // taxonomy specific filt function choose_primary_blog() { global $current_user; - echo __('Primary Blog:') . ' '; - $all_blogs = get_blogs_of_user( $current_user->ID ); - if( count( $all_blogs ) > 1 ) { - $primary_blog = get_usermeta($current_user->ID, 'primary_blog'); + ?> + + + + +
+ ID ); + if( count( $all_blogs ) > 1 ) { + $primary_blog = get_usermeta($current_user->ID, 'primary_blog'); + ?> + + -

+
+