diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 8a63a12d12..f73d57aae4 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -518,8 +518,10 @@ function wp_register( $before = '
  • ', $after = '
  • ', $echo = true ) { $link = $before . '' . __('Register') . '' . $after; else $link = ''; - } else { + } elseif ( current_user_can( 'read' ) ) { $link = $before . '' . __('Site Admin') . '' . $after; + } else { + $link = ''; } /**