From 06d845c74c1357a65a024c730436ef5e2e63de84 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 7 Jan 2010 00:21:19 +0000 Subject: [PATCH] Add esc_attr to ms-options.php. see #11782 git-svn-id: https://develop.svn.wordpress.org/trunk@12619 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/ms-options.php | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/wp-admin/ms-options.php b/wp-admin/ms-options.php index fe2d03d926..b5f141ce6c 100644 --- a/wp-admin/ms-options.php +++ b/wp-admin/ms-options.php @@ -9,9 +9,8 @@ $parent_file = 'wpmu-admin.php'; include('admin-header.php'); -if( is_site_admin() == false ) { +if ( !is_super_admin() ) wp_die( __('You do not have permission to access this page.') ); -} if (isset($_GET['updated'])) { ?> @@ -29,7 +28,7 @@ if (isset($_GET['updated'])) { - +
@@ -38,7 +37,7 @@ if (isset($_GET['updated'])) { - +
domain ); ?> @@ -95,8 +94,8 @@ if (isset($_GET['updated'])) { } else { $blogname = ''; }?> - - + +
New users are added to this blog as subscribers (or the user role defined below) if they don't have a blog. Leave blank for the main blog. 'Subscriber' users on old blog will be moved to the new blog if changed. New blog will be created if it does not exist." ); ?> @@ -116,7 +115,7 @@ if (isset($_GET['updated'])) { - " size="45" /> + " size="45" />
@@ -193,7 +192,7 @@ if (isset($_GET['updated'])) { - +
@@ -216,21 +215,21 @@ if (isset($_GET['updated'])) { - MB + MB - + - KB + KB -
+

domain . $current_site->path . 'feed/' ) echo __( "A good one to use would be the feed from your main blog: " ) . 'http://' . $current_site->domain . $current_site->path . 'feed/'; ?> @@ -242,7 +241,7 @@ if (isset($_GET['updated'])) { - +
@@ -291,7 +290,7 @@ if (isset($_GET['updated'])) {

-

+