diff options
-rw-r--r-- | wp-content/mu-plugins/dashboardswitcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-content/mu-plugins/dashboardswitcher.php b/wp-content/mu-plugins/dashboardswitcher.php index c3d7b9a..36f1f4c 100644 --- a/wp-content/mu-plugins/dashboardswitcher.php +++ b/wp-content/mu-plugins/dashboardswitcher.php @@ -78,7 +78,7 @@ function add_switcher() { $out .= '<ul id="switchermenu">'; $blogs = get_blogs_of_user($current_user->ID); if ( ! empty($blogs) ) foreach ( $blogs as $blog ) { - $out .= '<li><a href="http://' . $blog->domain . $blog->path . 'wp-admin/">' . $blog->blogname . '</a></li>'; + $out .= '<li><a href="http://' . $blog->domain . $blog->path . 'wp-admin/">' . addslashes( $blog->blogname ) . '</a></li>'; } $out .= "</ul>"; ?> |