X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa6ee2c363cdfdebcb4b76e4d9c4347a4cb19065..7f1521bf193b382565eb753043c161f4cb3fcda7:/wp-admin/network/settings.php
diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php
index d3d8584f..f3ef4800 100644
--- a/wp-admin/network/settings.php
+++ b/wp-admin/network/settings.php
@@ -17,7 +17,7 @@ if ( ! is_multisite() )
wp_die( __( 'Multisite support is not enabled.' ) );
if ( ! current_user_can( 'manage_network_options' ) )
- wp_die( __( 'You do not have permission to access this page.' ) );
+ wp_die( __( 'You do not have permission to access this page.' ), 403 );
$title = __( 'Network Settings' );
$parent_file = 'settings.php';
@@ -61,7 +61,7 @@ get_current_screen()->add_help_tab( array(
get_current_screen()->set_help_sidebar(
'
' . __('For more information:') . '
' .
- '' . __('Documentation on Network Settings') . '
' .
+ '' . __('Documentation on Network Settings') . '
' .
'' . __('Support Forums') . '
'
);
@@ -114,7 +114,7 @@ if ( $_POST ) {
include( ABSPATH . 'wp-admin/admin-header.php' );
if ( isset( $_GET['updated'] ) ) {
- ?>
@@ -134,8 +134,8 @@ if ( isset( $_GET['updated'] ) ) {
|
-
-
+
+
|
@@ -151,15 +151,16 @@ if ( isset( $_GET['updated'] ) ) {
$reg = get_site_option( 'registration' );
?>
+
|
@@ -184,8 +185,8 @@ if ( isset( $_GET['updated'] ) ) {
|
- " size="45" />
-
+ " size="45" />
+
|
@@ -196,9 +197,9 @@ if ( isset( $_GET['updated'] ) ) {
- |
@@ -207,9 +208,9 @@ if ( isset( $_GET['updated'] ) ) {
|
- |
@@ -222,9 +223,9 @@ if ( isset( $_GET['updated'] ) ) {
|
-
+
-
+
|
@@ -232,9 +233,9 @@ if ( isset( $_GET['updated'] ) ) {
|
-
+
-
+
|
@@ -242,9 +243,9 @@ if ( isset( $_GET['updated'] ) ) {
|
-
+
-
+
|
@@ -252,9 +253,9 @@ if ( isset( $_GET['updated'] ) ) {
|
-
+
-
+
|
@@ -262,9 +263,9 @@ if ( isset( $_GET['updated'] ) ) {
|
- |
@@ -272,8 +273,8 @@ if ( isset( $_GET['updated'] ) ) {
|
-
-
+
+
|
@@ -281,8 +282,8 @@ if ( isset( $_GET['updated'] ) ) {
|
-
-
+
+
|
@@ -293,18 +294,31 @@ if ( isset( $_GET['updated'] ) ) {
|
- |
|
- |
+
+
+
+
+
+ |
|
- ' ); ?> |
+
+ ' ); ?>
+
+
+
+ |
@@ -363,9 +377,15 @@ if ( isset( $_GET['updated'] ) ) {
* @param array $admin_menus The menu items available.
*/
$menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) );
+ $fieldset_end = '';
+ if ( count( (array) $menu_items ) > 1 ) {
+ echo '';
+ }
foreach ( (array) $menu_items as $key => $val ) {
echo " " . esc_html( $val ) . "
";
}
+ echo $fieldset_end;
?>