diff --git a/wp-content/themes/classic/sidebar.php b/wp-content/themes/classic/sidebar.php
index 3bc55faae4..d05c686287 100644
--- a/wp-content/themes/classic/sidebar.php
+++ b/wp-content/themes/classic/sidebar.php
@@ -26,7 +26,7 @@
-
+
- RSS'); ?>
- RSS'); ?>
diff --git a/wp-content/themes/default/sidebar.php b/wp-content/themes/default/sidebar.php
index dc5283895c..72e8e51b60 100644
--- a/wp-content/themes/default/sidebar.php
+++ b/wp-content/themes/default/sidebar.php
@@ -56,7 +56,7 @@
-
-
+
- XHTML'); ?>
- XFN
diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php
index 5b54fc152a..fc858ea140 100644
--- a/wp-includes/template-functions-general.php
+++ b/wp-includes/template-functions-general.php
@@ -37,15 +37,17 @@ function wp_loginout() {
echo apply_filters('loginout', $link);
}
-function wp_register() {
+function wp_register( $before = '- ', $after = '
' ) {
global $user_level;
get_currentuserinfo();
if (0 == $user_level && get_settings('users_can_register') ) :
- $link = '' . __('Register') . '';
+ $link = $before . '' . __('Register') . '' . $after;
+ elseif (0 == $user_level && !get_settings('users_can_register') ) :
+ $link = '';
else :
- $link = '' . __('Site Admin') . '';
+ $link = $before . '' . __('Site Admin') . '' . $after;
endif;
echo apply_filters('register', $link);