<!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>[12725] trunk/wp-admin: change ms-blogs.php refs to ms-sites.php,
  remove extraneous character, See #11644</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12725">12725</a></dd>
<dt>Author</dt> <dd>wpmuguru</dd>
<dt>Date</dt> <dd>2010-01-14 19:42:55 +0000 (Thu, 14 Jan 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>change ms-blogs.php refs to ms-sites.php, remove extraneous character, See <a href="http://trac.wordpress.org/ticket/11644">#11644</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminmsadminphp">trunk/wp-admin/ms-admin.php</a></li>
<li><a href="#trunkwpadminmseditphp">trunk/wp-admin/ms-edit.php</a></li>
<li><a href="#trunkwpadminmssitesphp">trunk/wp-admin/ms-sites.php</a></li>
<li><a href="#trunkwpadminmsusersphp">trunk/wp-admin/ms-users.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminmsadminphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-admin.php (12724 => 12725)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-admin.php        2010-01-14 19:15:00 UTC (rev 12724)
+++ trunk/wp-admin/ms-admin.php        2010-01-14 19:42:55 UTC (rev 12725)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">         &lt;h2&gt;&lt;?php echo wp_specialchars( $title ); ?&gt;&lt;/h2&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;ul class=&quot;subsubsub&quot;&gt;
</span><del>-        &lt;li&gt;&lt;a href=&quot;ms-blogs.php#form-add-blog&quot; class=&quot;rbutton&quot;&gt;&lt;strong&gt;&lt;?php _e('Create a New Blog'); ?&gt;&lt;/strong&gt;&lt;/a&gt; | &lt;/li&gt;
</del><ins>+        &lt;li&gt;&lt;a href=&quot;ms-sites.php#form-add-blog&quot; class=&quot;rbutton&quot;&gt;&lt;strong&gt;&lt;?php _e('Create a New Blog'); ?&gt;&lt;/strong&gt;&lt;/a&gt; | &lt;/li&gt;
</ins><span class="cx">         &lt;li&gt;&lt;a href=&quot;ms-users.php#form-add-user&quot; class=&quot;rbutton&quot;&gt;&lt;?php _e('Create a New User'); ?&gt;&lt;/a&gt;&lt;/li&gt;
</span><span class="cx">         &lt;/ul&gt;
</span><span class="cx">         &lt;br clear='all' /&gt;
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">                 &lt;/p&gt;
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx"> 
</span><del>-        &lt;form name=&quot;searchform&quot; action=&quot;ms-blogs.php&quot; method=&quot;get&quot;&gt;
</del><ins>+        &lt;form name=&quot;searchform&quot; action=&quot;ms-sites.php&quot; method=&quot;get&quot;&gt;
</ins><span class="cx">                 &lt;p&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;blogs&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;text&quot; name=&quot;s&quot; value=&quot;&quot; size=&quot;17&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpadminmseditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-edit.php (12724 => 12725)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-edit.php        2010-01-14 19:15:00 UTC (rev 12724)
+++ trunk/wp-admin/ms-edit.php        2010-01-14 19:42:55 UTC (rev 12725)
</span><span class="lines">@@ -185,7 +185,7 @@
</span><span class="cx">         case &quot;updateblog&quot;:
</span><span class="cx">                 check_admin_referer('editblog');
</span><span class="cx">                 if( empty( $_POST ) )
</span><del>-                        wp_die( __('You probably need to go back to the &lt;a href=&quot;ms-blogs.php&quot;&gt;blogs page&lt;/a&gt;') );
</del><ins>+                        wp_die( __('You probably need to go back to the &lt;a href=&quot;ms-sites.php&quot;&gt;sites page&lt;/a&gt;') );
</ins><span class="cx"> 
</span><span class="cx">                 // themes
</span><span class="cx">                 if( is_array( $_POST[ 'theme' ] ) ) {
</span><span class="lines">@@ -294,7 +294,7 @@
</span><span class="cx">                 }
</span><span class="cx">                 do_action( 'wpmu_update_blog_options' );
</span><span class="cx">                 restore_current_blog();
</span><del>-                wpmu_admin_do_redirect( &quot;ms-blogs.php?action=editblog&amp;updated=true&amp;id=&quot;.$id );
</del><ins>+                wpmu_admin_do_redirect( &quot;ms-sites.php?action=editblog&amp;updated=true&amp;id=&quot;.$id );
</ins><span class="cx">         break;
</span><span class="cx"> 
</span><span class="cx">         case &quot;deleteblog&quot;:
</span></span></pre></div>
<a id="trunkwpadminmssitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-sites.php (12724 => 12725)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-sites.php        2010-01-14 19:15:00 UTC (rev 12724)
+++ trunk/wp-admin/ms-sites.php        2010-01-14 19:42:55 UTC (rev 12725)
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx">                         &lt;/div&gt;&lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;blogedit_blogoptions&quot; class=&quot;postbox &quot; &gt;
</span><del>-                        &lt;h3 class='hndle'&gt;&lt;span&gt;&lt;?php printf( __('Blog options (%s_options)'), $blog_prefix ); ?&gt;&lt;/span&gt;&lt;/h3&gt;
</del><ins>+                        &lt;h3 class='hndle'&gt;&lt;span&gt;&lt;?php printf( __('Blog options (%soptions)'), $blog_prefix ); ?&gt;&lt;/span&gt;&lt;/h3&gt;
</ins><span class="cx">                         &lt;div class=&quot;inside&quot;&gt;
</span><span class="cx">                                 &lt;table class=&quot;form-table&quot;&gt;
</span><span class="cx">                                                         &lt;?php
</span><span class="lines">@@ -371,7 +371,7 @@
</span><span class="cx">                 &lt;div class=&quot;wrap&quot; style=&quot;position:relative;&quot;&gt;
</span><span class="cx">                 &lt;h2&gt;&lt;?php _e('Blogs') ?&gt;&lt;/h2&gt;
</span><span class="cx"> 
</span><del>-                &lt;form action=&quot;ms-blogs.php&quot; method=&quot;get&quot; id=&quot;ms-search&quot;&gt;
</del><ins>+                &lt;form action=&quot;ms-sites.php&quot; method=&quot;get&quot; id=&quot;ms-search&quot;&gt;
</ins><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;blogs&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;text&quot; name=&quot;s&quot; value=&quot;&lt;?php if (isset($_GET['s'])) echo stripslashes( esc_attr( $s, 1 ) ); ?&gt;&quot; size=&quot;17&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;submit&quot; class=&quot;button&quot; name=&quot;blog_name&quot; value=&quot;&lt;?php esc_attr_e('Search blogs by name') ?&gt;&quot; /&gt;
</span><span class="lines">@@ -428,7 +428,7 @@
</span><span class="cx">                                 &lt;tr&gt;
</span><span class="cx">                                 &lt;th scope=&quot;col&quot; class=&quot;check-column&quot;&gt;&lt;/th&gt;
</span><span class="cx">                                 &lt;?php foreach($posts_columns as $column_id =&gt; $column_display_name) {
</span><del>-                                        $column_link = &quot;&lt;a href='ms-blogs.php?{$sortby_url}&amp;amp;sortby={$column_id}&amp;amp;&quot;;
</del><ins>+                                        $column_link = &quot;&lt;a href='ms-sites.php?{$sortby_url}&amp;amp;sortby={$column_id}&amp;amp;&quot;;
</ins><span class="cx">                                         if( $_GET['sortby'] == $column_id ) {
</span><span class="cx">                                                 $column_link .= $_GET[ 'order' ] == 'DESC' ? 'order=ASC&amp;amp;' : 'order=DESC&amp;amp;';
</span><span class="cx">                                         }
</span><span class="lines">@@ -472,11 +472,11 @@
</span><span class="cx"> 
</span><span class="cx">                                                         case 'blogname': ?&gt;
</span><span class="cx">                                                                 &lt;td valign=&quot;top&quot;&gt;
</span><del>-                                                                        &lt;a href=&quot;ms-blogs.php?action=editblog&amp;amp;id=&lt;?php echo $blog['blog_id'] ?&gt;&quot; class=&quot;edit&quot;&gt;&lt;?php echo $blogname; ?&gt;&lt;/a&gt;
</del><ins>+                                                                        &lt;a href=&quot;ms-sites.php?action=editblog&amp;amp;id=&lt;?php echo $blog['blog_id'] ?&gt;&quot; class=&quot;edit&quot;&gt;&lt;?php echo $blogname; ?&gt;&lt;/a&gt;
</ins><span class="cx">                                                                         &lt;br/&gt;
</span><span class="cx">                                                                         &lt;?php
</span><span class="cx">                                                                         $controlActions        = array();
</span><del>-                                                                        $controlActions[]        = '&lt;a href=&quot;ms-blogs.php?action=editblog&amp;amp;id=' . $blog['blog_id'] . '&quot; class=&quot;edit&quot;&gt;' . __('Edit') . '&lt;/a&gt;';
</del><ins>+                                                                        $controlActions[]        = '&lt;a href=&quot;ms-sites.php?action=editblog&amp;amp;id=' . $blog['blog_id'] . '&quot; class=&quot;edit&quot;&gt;' . __('Edit') . '&lt;/a&gt;';
</ins><span class="cx">                                                                         $controlActions[]        = &quot;&lt;a href='{$protocol}{$blog['domain']}{$blog['path']}wp-admin/' class='edit'&gt;&quot; . __('Backend') . '&lt;/a&gt;';
</span><span class="cx"> 
</span><span class="cx">                                                                         if( get_blog_status( $blog['blog_id'], &quot;deleted&quot; ) == '1' )
</span></span></pre></div>
<a id="trunkwpadminmsusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-users.php (12724 => 12725)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-users.php        2010-01-14 19:15:00 UTC (rev 12724)
+++ trunk/wp-admin/ms-users.php        2010-01-14 19:42:55 UTC (rev 12725)
</span><span class="lines">@@ -124,7 +124,7 @@
</span><span class="cx">                 &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php if( isset($_GET['s']) &amp;&amp; $_GET['s'] != '' ) : ?&gt;
</span><del>-                        &lt;p&gt;&lt;a href=&quot;ms-blogs.php?action=blogs&amp;amp;s=&lt;?php echo urlencode( stripslashes( $s ) ); ?&gt;&amp;blog_name=Search+blogs+by+name&quot;&gt;&lt;?php _e('Search Blogs for') ?&gt; &lt;strong&gt;&lt;?php echo stripslashes( $s ) ?&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
</del><ins>+                        &lt;p&gt;&lt;a href=&quot;ms-sites.php?action=blogs&amp;amp;s=&lt;?php echo urlencode( stripslashes( $s ) ); ?&gt;&amp;blog_name=Search+blogs+by+name&quot;&gt;&lt;?php _e('Search Blogs for') ?&gt; &lt;strong&gt;&lt;?php echo stripslashes( $s ) ?&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
</ins><span class="cx">                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php
</span><span class="lines">@@ -219,11 +219,11 @@
</span><span class="cx">                                                                         if( is_array( $blogs ) ) {
</span><span class="cx">                                                                                 foreach ( (array) $blogs as $key =&gt; $val ) {
</span><span class="cx">                                                                                         $path        = ($val-&gt;path == '/') ? '' : $val-&gt;path;
</span><del>-                                                                                        echo '&lt;a href=&quot;ms-blogs.php?action=editblog&amp;amp;id=' . $val-&gt;userblog_id . '&quot;&gt;' . str_replace( '.' . $current_site-&gt;domain, '', $val-&gt;domain . $path ) . '&lt;/a&gt;';
</del><ins>+                                                                                        echo '&lt;a href=&quot;ms-sites.php?action=editblog&amp;amp;id=' . $val-&gt;userblog_id . '&quot;&gt;' . str_replace( '.' . $current_site-&gt;domain, '', $val-&gt;domain . $path ) . '&lt;/a&gt;';
</ins><span class="cx">                                                                                         echo ' &lt;small class=&quot;row-actions&quot;&gt;';
</span><span class="cx"> 
</span><span class="cx">                                                                                         // Edit
</span><del>-                                                                                        echo '&lt;a href=&quot;ms-blogs.php?action=editblog&amp;amp;id=' . $val-&gt;userblog_id . '&quot;&gt;' . __('Edit') . '&lt;/a&gt; | ';
</del><ins>+                                                                                        echo '&lt;a href=&quot;ms-sites.php?action=editblog&amp;amp;id=' . $val-&gt;userblog_id . '&quot;&gt;' . __('Edit') . '&lt;/a&gt; | ';
</ins><span class="cx"> 
</span><span class="cx">                                                                                         // View
</span><span class="cx">                                                                                         echo '&lt;a ';
</span></span></pre>
</div>
</div>

</body>
</html>