<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[16984] trunk/wp-admin/network: Network Admin: Rename Options to Settings.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/16984">16984</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-12-16 07:13:01 +0000 (Thu, 16 Dec 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Network Admin: Rename Options to Settings. Kick the tab to the end as well. see <a href="http://trac.wordpress.org/ticket/15314">#15314</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminnetworksiteinfophp">trunk/wp-admin/network/site-info.php</a></li>
<li><a href="#trunkwpadminnetworksitethemesphp">trunk/wp-admin/network/site-themes.php</a></li>
<li><a href="#trunkwpadminnetworksiteusersphp">trunk/wp-admin/network/site-users.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpadminnetworksitesettingsphp">trunk/wp-admin/network/site-settings.php</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkwpadminnetworksiteoptionsphp">trunk/wp-admin/network/site-options.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminnetworksiteinfophp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-info.php (16983 => 16984)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-info.php        2010-12-16 07:07:42 UTC (rev 16983)
+++ trunk/wp-admin/network/site-info.php        2010-12-16 07:13:01 UTC (rev 16984)
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx"> 
</span><span class="cx"> add_contextual_help($current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '&lt;/p&gt;' .
</span><del>-        '&lt;p&gt;' . __('&lt;strong&gt;Info&lt;/strong&gt; The domain and path are rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as Archived, Spammed, Deleted and Mature, to remove from public listings or disable.') . '&lt;/p&gt;' .
</del><ins>+        '&lt;p&gt;' . __('&lt;strong&gt;Info&lt;/strong&gt; - The domain and path are rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as Archived, Spammed, Deleted and Mature, to remove from public listings or disable.') . '&lt;/p&gt;' .
</ins><span class="cx">         '&lt;p&gt;' . __('See the contextual help on the next tab. ') . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Super_Admin_Options_SubPanel&quot; target=&quot;_blank&quot;&gt;Documentation on Network Settings&lt;/a&gt;') . '&lt;/p&gt;' .
</span><span class="lines">@@ -89,8 +89,12 @@
</span><span class="cx"> &lt;h2 id=&quot;edit-site&quot;&gt;&lt;?php echo $title ?&gt;&lt;/h2&gt;
</span><span class="cx"> &lt;h3 class=&quot;nav-tab-wrapper&quot;&gt;
</span><span class="cx"> &lt;?php
</span><del>-$tabs = array( 'site-info' =&gt; array( 'label' =&gt; __('Info'), 'url' =&gt; 'site-info.php'),  'site-options' =&gt; array( 'label' =&gt; __('Options'), 'url' =&gt; 'site-options.php'),
-                          'site-users' =&gt; array( 'label' =&gt; __('Users'), 'url' =&gt; 'site-users.php'),  'site-themes' =&gt; array( 'label' =&gt; __('Themes'), 'url' =&gt; 'site-themes.php'));
</del><ins>+$tabs = array(
+        'site-info'     =&gt; array( 'label' =&gt; __( 'Info' ),     'url' =&gt; 'site-info.php'     ),
+        'site-users'    =&gt; array( 'label' =&gt; __( 'Users' ),    'url' =&gt; 'site-users.php'    ),
+        'site-themes'   =&gt; array( 'label' =&gt; __( 'Themes' ),   'url' =&gt; 'site-themes.php'   ),
+        'site-settings' =&gt; array( 'label' =&gt; __( 'Settings' ), 'url' =&gt; 'site-settings.php' ),
+);
</ins><span class="cx"> foreach ( $tabs as $tab_id =&gt; $tab ) {
</span><span class="cx">         $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
</span><span class="cx">         echo '&lt;a href=&quot;' . $tab['url'] . '?id=' . $id .'&quot; class=&quot;nav-tab' . $class . '&quot;&gt;' .  esc_html( $tab['label'] ) . '&lt;/a&gt;';
</span></span></pre></div>
<a id="trunkwpadminnetworksiteoptionsphp"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/network/site-options.php (16983 => 16984)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-options.php        2010-12-16 07:07:42 UTC (rev 16983)
+++ trunk/wp-admin/network/site-options.php        2010-12-16 07:13:01 UTC (rev 16984)
</span><span class="lines">@@ -1,144 +0,0 @@
</span><del>-&lt;?php
-/**
- * Edit Site Options Administration Screen
- *
- * @package WordPress
- * @subpackage Multisite
- * @since 3.1.0
- */
-
-/** Load WordPress Administration Bootstrap */
-require_once( './admin.php' );
-
-if ( ! is_multisite() )
-        wp_die( __( 'Multisite support is not enabled.' ) );
-
-if ( ! current_user_can('manage_sites') )
-        wp_die(__('You do not have sufficient permissions to edit this site.'));
-
-add_contextual_help($current_screen,
-        '&lt;p&gt;' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('&lt;strong&gt;Options&lt;/strong&gt; This page shows a list of all options associated with this site. Some are created by WordPress and others are created by plugins you activate. Note that some fields are grayed out and say Serialized Data. You cannot modify these values due to the way the option is stored in the database.') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('See the contextual help on the next tab. ') . '&lt;/p&gt;' .
-        '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;' .
-        '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Super_Admin_Options_SubPanel&quot; target=&quot;_blank&quot;&gt;Documentation on Network Settings&lt;/a&gt;') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/multisite/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
-);
-
-$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
-
-if ( ! $id )
-        wp_die( __('Invalid site ID.') );
-
-$details = get_blog_details( $id );
-if ( !can_edit_network( $details-&gt;site_id ) )
-        wp_die( __( 'You do not have permission to access this page.' ) );
-
-$is_main_site = is_main_site( $id );
-
-if ( isset($_REQUEST['action']) &amp;&amp; 'update-site' == $_REQUEST['action'] &amp;&amp; is_array( $_POST['option'] ) ) {
-        check_admin_referer( 'edit-site' );
-
-        switch_to_blog( $id );
-
-        $c = 1;
-        $count = count( $_POST['option'] );
-        $skip_options = array( 'allowedthemes' ); // Don't update these options since they are handled elsewhere in the form.
-        foreach ( (array) $_POST['option'] as $key =&gt; $val ) {
-                if ( $key === 0 || is_array( $val ) || in_array($key, $skip_options) )
-                        continue; // Avoids &quot;0 is a protected WP option and may not be modified&quot; error when edit blog options
-                if ( $c == $count )
-                        update_option( $key, stripslashes( $val ) );
-                else
-                        update_option( $key, stripslashes( $val ), false ); // no need to refresh blog details yet
-                $c++;
-        }
-
-        do_action( 'wpmu_update_blog_options' );
-        restore_current_blog();
-        wp_redirect( add_query_arg( array( 'update' =&gt; 'updated', 'id' =&gt; $id ), 'site-options.php') );
-        exit;
-}
-
-if ( isset($_GET['update']) ) {
-        $messages = array();
-        if ( 'updated' == $_GET['update'] )
-                $messages[] = __('Site options updated.');
-}
-
-$title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id));
-$parent_file = 'sites.php';
-$submenu_file = 'sites.php';
-
-require('../admin-header.php');
-
-?&gt;
-
-&lt;div class=&quot;wrap&quot;&gt;
-&lt;?php screen_icon('ms-admin'); ?&gt;
-&lt;h2 id=&quot;edit-site&quot;&gt;&lt;?php echo $title ?&gt;&lt;/h2&gt;
-&lt;h3 class=&quot;nav-tab-wrapper&quot;&gt;
-&lt;?php
-$tabs = array( 'site-info' =&gt; array( 'label' =&gt; __('Info'), 'url' =&gt; 'site-info.php'),  'site-options' =&gt; array( 'label' =&gt; __('Options'), 'url' =&gt; 'site-options.php'),
-                          'site-users' =&gt; array( 'label' =&gt; __('Users'), 'url' =&gt; 'site-users.php'),  'site-themes' =&gt; array( 'label' =&gt; __('Themes'), 'url' =&gt; 'site-themes.php'));
-foreach ( $tabs as $tab_id =&gt; $tab ) {
-        $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
-        echo '&lt;a href=&quot;' . $tab['url'] . '?id=' . $id .'&quot; class=&quot;nav-tab' . $class . '&quot;&gt;' .  esc_html( $tab['label'] ) . '&lt;/a&gt;';
-}
-?&gt;
-&lt;/h3&gt;
-&lt;?php
-if ( ! empty( $messages ) ) {
-        foreach ( $messages as $msg )
-                echo '&lt;div id=&quot;message&quot; class=&quot;updated&quot;&gt;&lt;p&gt;' . $msg . '&lt;/p&gt;&lt;/div&gt;';
-} ?&gt;
-&lt;form method=&quot;post&quot; action=&quot;site-options.php?action=update-site&quot;&gt;
-        &lt;?php wp_nonce_field( 'edit-site' ); ?&gt;
-        &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;&lt;?php echo esc_attr( $id ) ?&gt;&quot; /&gt;
-        &lt;table class=&quot;form-table&quot;&gt;
-                &lt;?php
-                $blog_prefix = $wpdb-&gt;get_blog_prefix( $id );
-                $options = $wpdb-&gt;get_results( &quot;SELECT * FROM {$blog_prefix}options WHERE option_name NOT LIKE '\_%' AND option_name NOT LIKE '%user_roles'&quot; );
-                foreach ( $options as $option ) {
-                        if ( $option-&gt;option_name == 'default_role' )
-                                $editblog_default_role = $option-&gt;option_value;
-                        $disabled = false;
-                        $class = 'all-options';
-                        if ( is_serialized( $option-&gt;option_value ) ) {
-                                if ( is_serialized_string( $option-&gt;option_value ) ) {
-                                        $option-&gt;option_value = esc_html( maybe_unserialize( $option-&gt;option_value ), 'single' );
-                                } else {
-                                        $option-&gt;option_value = 'SERIALIZED DATA';
-                                        $disabled = true;
-                                        $class = 'all-options disabled';
-                                }
-                        }
-                        if ( strpos( $option-&gt;option_value, &quot;\n&quot; ) !== false ) {
-                        ?&gt;
-                                &lt;tr class=&quot;form-field&quot;&gt;
-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php echo ucwords( str_replace( &quot;_&quot;, &quot; &quot;, $option-&gt;option_name ) ) ?&gt;&lt;/th&gt;
-                                        &lt;td&gt;&lt;textarea class=&quot;&lt;?php echo $class; ?&gt;&quot; rows=&quot;5&quot; cols=&quot;40&quot; name=&quot;option[&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;]&quot; id=&quot;&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;&quot;&lt;?php disabled( $disabled ) ?&gt;&gt;&lt;?php echo esc_textarea( $option-&gt;option_value ) ?&gt;&lt;/textarea&gt;&lt;/td&gt;
-                                &lt;/tr&gt;
-                        &lt;?php
-                        } else {
-                        ?&gt;
-                                &lt;tr class=&quot;form-field&quot;&gt;
-                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php echo esc_html( ucwords( str_replace( &quot;_&quot;, &quot; &quot;, $option-&gt;option_name ) ) ); ?&gt;&lt;/th&gt;
-                                        &lt;?php if ( $is_main_site &amp;&amp; in_array( $option-&gt;option_name, array( 'siteurl', 'home' ) ) ) { ?&gt;
-                                        &lt;td&gt;&lt;code&gt;&lt;?php echo esc_html( $option-&gt;option_value ) ?&gt;&lt;/code&gt;&lt;/td&gt;
-                                        &lt;?php } else { ?&gt;
-                                        &lt;td&gt;&lt;input class=&quot;&lt;?php echo $class; ?&gt;&quot; name=&quot;option[&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;]&quot; type=&quot;text&quot; id=&quot;&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;&quot; value=&quot;&lt;?php echo esc_attr( $option-&gt;option_value ) ?&gt;&quot; size=&quot;40&quot; &lt;?php disabled( $disabled ) ?&gt; /&gt;&lt;/td&gt;
-                                        &lt;?php } ?&gt;
-                                &lt;/tr&gt;
-                        &lt;?php
-                        }
-                } // End foreach
-                do_action( 'wpmueditblogaction', $id );
-                ?&gt;
-        &lt;/table&gt;
-        &lt;?php submit_button(); ?&gt;
-&lt;/form&gt;
-
-&lt;/div&gt;
-&lt;?php
-require('../admin-footer.php');
</del></span></pre></div>
<a id="trunkwpadminnetworksitesettingsphpfromrev16983trunkwpadminnetworksiteoptionsphp"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/network/site-settings.php (from rev 16983, trunk/wp-admin/network/site-options.php) (0 => 16984)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-settings.php                                (rev 0)
+++ trunk/wp-admin/network/site-settings.php        2010-12-16 07:13:01 UTC (rev 16984)
</span><span class="lines">@@ -0,0 +1,148 @@
</span><ins>+&lt;?php
+/**
+ * Edit Site Settings Administration Screen
+ *
+ * @package WordPress
+ * @subpackage Multisite
+ * @since 3.1.0
+ */
+
+/** Load WordPress Administration Bootstrap */
+require_once( './admin.php' );
+
+if ( ! is_multisite() )
+        wp_die( __( 'Multisite support is not enabled.' ) );
+
+if ( ! current_user_can('manage_sites') )
+        wp_die(__('You do not have sufficient permissions to edit this site.'));
+
+add_contextual_help($current_screen,
+        '&lt;p&gt;' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('&lt;strong&gt;Settings&lt;/strong&gt; - This page shows a list of all settings associated with this site. Some are created by WordPress and others are created by plugins you activate. Note that some fields are grayed out and say Serialized Data. You cannot modify these values due to the way the setting is stored in the database.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('See the contextual help on the next tab. ') . '&lt;/p&gt;' .
+        '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;' .
+        '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Super_Admin_Options_SubPanel&quot; target=&quot;_blank&quot;&gt;Documentation on Network Settings&lt;/a&gt;') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/multisite/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
+);
+
+$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
+
+if ( ! $id )
+        wp_die( __('Invalid site ID.') );
+
+$details = get_blog_details( $id );
+if ( !can_edit_network( $details-&gt;site_id ) )
+        wp_die( __( 'You do not have permission to access this page.' ) );
+
+$is_main_site = is_main_site( $id );
+
+if ( isset($_REQUEST['action']) &amp;&amp; 'update-site' == $_REQUEST['action'] &amp;&amp; is_array( $_POST['option'] ) ) {
+        check_admin_referer( 'edit-site' );
+
+        switch_to_blog( $id );
+
+        $c = 1;
+        $count = count( $_POST['option'] );
+        $skip_options = array( 'allowedthemes' ); // Don't update these options since they are handled elsewhere in the form.
+        foreach ( (array) $_POST['option'] as $key =&gt; $val ) {
+                if ( $key === 0 || is_array( $val ) || in_array($key, $skip_options) )
+                        continue; // Avoids &quot;0 is a protected WP option and may not be modified&quot; error when edit blog options
+                if ( $c == $count )
+                        update_option( $key, stripslashes( $val ) );
+                else
+                        update_option( $key, stripslashes( $val ), false ); // no need to refresh blog details yet
+                $c++;
+        }
+
+        do_action( 'wpmu_update_blog_options' );
+        restore_current_blog();
+        wp_redirect( add_query_arg( array( 'update' =&gt; 'updated', 'id' =&gt; $id ), 'site-options.php') );
+        exit;
+}
+
+if ( isset($_GET['update']) ) {
+        $messages = array();
+        if ( 'updated' == $_GET['update'] )
+                $messages[] = __('Site options updated.');
+}
+
+$title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id));
+$parent_file = 'sites.php';
+$submenu_file = 'sites.php';
+
+require('../admin-header.php');
+
+?&gt;
+
+&lt;div class=&quot;wrap&quot;&gt;
+&lt;?php screen_icon('ms-admin'); ?&gt;
+&lt;h2 id=&quot;edit-site&quot;&gt;&lt;?php echo $title ?&gt;&lt;/h2&gt;
+&lt;h3 class=&quot;nav-tab-wrapper&quot;&gt;
+&lt;?php
+$tabs = array(
+        'site-info'     =&gt; array( 'label' =&gt; __( 'Info' ),     'url' =&gt; 'site-info.php'     ),
+        'site-users'    =&gt; array( 'label' =&gt; __( 'Users' ),    'url' =&gt; 'site-users.php'    ),
+        'site-themes'   =&gt; array( 'label' =&gt; __( 'Themes' ),   'url' =&gt; 'site-themes.php'   ),
+        'site-settings' =&gt; array( 'label' =&gt; __( 'Settings' ), 'url' =&gt; 'site-settings.php' ),
+);
+foreach ( $tabs as $tab_id =&gt; $tab ) {
+        $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
+        echo '&lt;a href=&quot;' . $tab['url'] . '?id=' . $id .'&quot; class=&quot;nav-tab' . $class . '&quot;&gt;' .  esc_html( $tab['label'] ) . '&lt;/a&gt;';
+}
+?&gt;
+&lt;/h3&gt;
+&lt;?php
+if ( ! empty( $messages ) ) {
+        foreach ( $messages as $msg )
+                echo '&lt;div id=&quot;message&quot; class=&quot;updated&quot;&gt;&lt;p&gt;' . $msg . '&lt;/p&gt;&lt;/div&gt;';
+} ?&gt;
+&lt;form method=&quot;post&quot; action=&quot;site-options.php?action=update-site&quot;&gt;
+        &lt;?php wp_nonce_field( 'edit-site' ); ?&gt;
+        &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;&lt;?php echo esc_attr( $id ) ?&gt;&quot; /&gt;
+        &lt;table class=&quot;form-table&quot;&gt;
+                &lt;?php
+                $blog_prefix = $wpdb-&gt;get_blog_prefix( $id );
+                $options = $wpdb-&gt;get_results( &quot;SELECT * FROM {$blog_prefix}options WHERE option_name NOT LIKE '\_%' AND option_name NOT LIKE '%user_roles'&quot; );
+                foreach ( $options as $option ) {
+                        if ( $option-&gt;option_name == 'default_role' )
+                                $editblog_default_role = $option-&gt;option_value;
+                        $disabled = false;
+                        $class = 'all-options';
+                        if ( is_serialized( $option-&gt;option_value ) ) {
+                                if ( is_serialized_string( $option-&gt;option_value ) ) {
+                                        $option-&gt;option_value = esc_html( maybe_unserialize( $option-&gt;option_value ), 'single' );
+                                } else {
+                                        $option-&gt;option_value = 'SERIALIZED DATA';
+                                        $disabled = true;
+                                        $class = 'all-options disabled';
+                                }
+                        }
+                        if ( strpos( $option-&gt;option_value, &quot;\n&quot; ) !== false ) {
+                        ?&gt;
+                                &lt;tr class=&quot;form-field&quot;&gt;
+                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php echo ucwords( str_replace( &quot;_&quot;, &quot; &quot;, $option-&gt;option_name ) ) ?&gt;&lt;/th&gt;
+                                        &lt;td&gt;&lt;textarea class=&quot;&lt;?php echo $class; ?&gt;&quot; rows=&quot;5&quot; cols=&quot;40&quot; name=&quot;option[&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;]&quot; id=&quot;&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;&quot;&lt;?php disabled( $disabled ) ?&gt;&gt;&lt;?php echo esc_textarea( $option-&gt;option_value ) ?&gt;&lt;/textarea&gt;&lt;/td&gt;
+                                &lt;/tr&gt;
+                        &lt;?php
+                        } else {
+                        ?&gt;
+                                &lt;tr class=&quot;form-field&quot;&gt;
+                                        &lt;th scope=&quot;row&quot;&gt;&lt;?php echo esc_html( ucwords( str_replace( &quot;_&quot;, &quot; &quot;, $option-&gt;option_name ) ) ); ?&gt;&lt;/th&gt;
+                                        &lt;?php if ( $is_main_site &amp;&amp; in_array( $option-&gt;option_name, array( 'siteurl', 'home' ) ) ) { ?&gt;
+                                        &lt;td&gt;&lt;code&gt;&lt;?php echo esc_html( $option-&gt;option_value ) ?&gt;&lt;/code&gt;&lt;/td&gt;
+                                        &lt;?php } else { ?&gt;
+                                        &lt;td&gt;&lt;input class=&quot;&lt;?php echo $class; ?&gt;&quot; name=&quot;option[&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;]&quot; type=&quot;text&quot; id=&quot;&lt;?php echo esc_attr( $option-&gt;option_name ) ?&gt;&quot; value=&quot;&lt;?php echo esc_attr( $option-&gt;option_value ) ?&gt;&quot; size=&quot;40&quot; &lt;?php disabled( $disabled ) ?&gt; /&gt;&lt;/td&gt;
+                                        &lt;?php } ?&gt;
+                                &lt;/tr&gt;
+                        &lt;?php
+                        }
+                } // End foreach
+                do_action( 'wpmueditblogaction', $id );
+                ?&gt;
+        &lt;/table&gt;
+        &lt;?php submit_button(); ?&gt;
+&lt;/form&gt;
+
+&lt;/div&gt;
+&lt;?php
+require('../admin-footer.php');
</ins></span></pre></div>
<a id="trunkwpadminnetworksitethemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-themes.php (16983 => 16984)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-themes.php        2010-12-16 07:07:42 UTC (rev 16983)
+++ trunk/wp-admin/network/site-themes.php        2010-12-16 07:13:01 UTC (rev 16984)
</span><span class="lines">@@ -125,8 +125,12 @@
</span><span class="cx"> &lt;h2 id=&quot;edit-site&quot;&gt;&lt;?php echo $title ?&gt;&lt;/h2&gt;
</span><span class="cx"> &lt;h3 class=&quot;nav-tab-wrapper&quot;&gt;
</span><span class="cx"> &lt;?php
</span><del>-$tabs = array( 'site-info' =&gt; array( 'label' =&gt; __('Info'), 'url' =&gt; 'site-info.php'),  'site-options' =&gt; array( 'label' =&gt; __('Options'), 'url' =&gt; 'site-options.php'),
-                          'site-users' =&gt; array( 'label' =&gt; __('Users'), 'url' =&gt; 'site-users.php'),  'site-themes' =&gt; array( 'label' =&gt; __('Themes'), 'url' =&gt; 'site-themes.php'));
</del><ins>+$tabs = array(
+        'site-info'     =&gt; array( 'label' =&gt; __( 'Info' ),     'url' =&gt; 'site-info.php'     ),
+        'site-users'    =&gt; array( 'label' =&gt; __( 'Users' ),    'url' =&gt; 'site-users.php'    ),
+        'site-themes'   =&gt; array( 'label' =&gt; __( 'Themes' ),   'url' =&gt; 'site-themes.php'   ),
+        'site-settings' =&gt; array( 'label' =&gt; __( 'Settings' ), 'url' =&gt; 'site-settings.php' ),
+);
</ins><span class="cx"> foreach ( $tabs as $tab_id =&gt; $tab ) {
</span><span class="cx">         $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
</span><span class="cx">         echo '&lt;a href=&quot;' . $tab['url'] . '?id=' . $id .'&quot; class=&quot;nav-tab' . $class . '&quot;&gt;' .  esc_html( $tab['label'] ) . '&lt;/a&gt;';
</span></span></pre></div>
<a id="trunkwpadminnetworksiteusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-users.php (16983 => 16984)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-users.php        2010-12-16 07:07:42 UTC (rev 16983)
+++ trunk/wp-admin/network/site-users.php        2010-12-16 07:13:01 UTC (rev 16984)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx"> 
</span><span class="cx"> add_contextual_help($current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '&lt;/p&gt;' .
</span><del>-        '&lt;p&gt;' . __('&lt;strong&gt;Users&lt;/strong&gt; This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '&lt;/p&gt;' .
</del><ins>+        '&lt;p&gt;' . __('&lt;strong&gt;Users&lt;/strong&gt; - This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '&lt;/p&gt;' .
</ins><span class="cx">         '&lt;p&gt;' . __('See the contextual help on the next tab. ') . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Super_Admin_Options_SubPanel&quot; target=&quot;_blank&quot;&gt;Documentation on Network Settings&lt;/a&gt;') . '&lt;/p&gt;' .
</span><span class="lines">@@ -163,8 +163,12 @@
</span><span class="cx"> &lt;h2 id=&quot;edit-site&quot;&gt;&lt;?php echo $title ?&gt;&lt;/h2&gt;
</span><span class="cx"> &lt;h3 class=&quot;nav-tab-wrapper&quot;&gt;
</span><span class="cx"> &lt;?php
</span><del>-$tabs = array( 'site-info' =&gt; array( 'label' =&gt; __('Info'), 'url' =&gt; 'site-info.php'),  'site-options' =&gt; array( 'label' =&gt; __('Options'), 'url' =&gt; 'site-options.php'),
-                          'site-users' =&gt; array( 'label' =&gt; __('Users'), 'url' =&gt; 'site-users.php'),  'site-themes' =&gt; array( 'label' =&gt; __('Themes'), 'url' =&gt; 'site-themes.php'));
</del><ins>+$tabs = array(
+        'site-info'     =&gt; array( 'label' =&gt; __( 'Info' ),     'url' =&gt; 'site-info.php'     ),
+        'site-users'    =&gt; array( 'label' =&gt; __( 'Users' ),    'url' =&gt; 'site-users.php'    ),
+        'site-themes'   =&gt; array( 'label' =&gt; __( 'Themes' ),   'url' =&gt; 'site-themes.php'   ),
+        'site-settings' =&gt; array( 'label' =&gt; __( 'Settings' ), 'url' =&gt; 'site-settings.php' ),
+);
</ins><span class="cx"> foreach ( $tabs as $tab_id =&gt; $tab ) {
</span><span class="cx">         $class = ( $tab['url'] == $pagenow ) ? ' nav-tab-active' : '';
</span><span class="cx">         echo '&lt;a href=&quot;' . $tab['url'] . '?id=' . $id .'&quot; class=&quot;nav-tab' . $class . '&quot;&gt;' .  esc_html( $tab['label'] ) . '&lt;/a&gt;';
</span></span></pre>
</div>
</div>

</body>
</html>