<!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>[12620] trunk/wp-admin: Change references to wpmu-edit.php - See #11644</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12620">12620</a></dd>
<dt>Author</dt> <dd>wpmuguru</dd>
<dt>Date</dt> <dd>2010-01-07 00:24:03 +0000 (Thu, 07 Jan 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Change references to wpmu-edit.php - See <a href="http://trac.wordpress.org/ticket/11644">#11644</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminincludesmsphp">trunk/wp-admin/includes/ms.php</a></li>
<li><a href="#trunkwpadminmseditphp">trunk/wp-admin/ms-edit.php</a></li>
<li><a href="#trunkwpadminmsoptionsphp">trunk/wp-admin/ms-options.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="trunkwpadminincludesmsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/ms.php (12619 => 12620)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/ms.php        2010-01-07 00:21:19 UTC (rev 12619)
+++ trunk/wp-admin/includes/ms.php        2010-01-07 00:24:03 UTC (rev 12620)
</span><span class="lines">@@ -143,7 +143,7 @@
</span><span class="cx"> 
</span><span class="cx">         echo '&lt;p&gt;' . __( 'Transfer posts before deleting users:' ) . '&lt;/p&gt;';
</span><span class="cx"> 
</span><del>-        echo '&lt;form action=&quot;wpmu-edit.php?action=allusers&quot; method=&quot;post&quot;&gt;';
</del><ins>+        echo '&lt;form action=&quot;ms-edit.php?action=allusers&quot; method=&quot;post&quot;&gt;';
</ins><span class="cx">         echo '&lt;input type=&quot;hidden&quot; name=&quot;alluser_transfer_delete&quot; /&gt;';
</span><span class="cx">         wp_nonce_field( 'allusers' );
</span><span class="cx">         foreach ( (array) $_POST['allusers'] as $key =&gt; $val ) {
</span></span></pre></div>
<a id="trunkwpadminmseditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-edit.php (12619 => 12620)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-edit.php        2010-01-07 00:21:19 UTC (rev 12619)
+++ trunk/wp-admin/ms-edit.php        2010-01-07 00:24:03 UTC (rev 12620)
</span><span class="lines">@@ -425,7 +425,7 @@
</span><span class="cx">                         &lt;/head&gt;
</span><span class="cx">                         &lt;body id=&quot;error-page&quot;&gt;
</span><span class="cx">                                 &lt;h1 id=&quot;logo&quot;&gt;&lt;img alt=&quot;WordPress&quot; src=&quot;images/wordpress-logo.png&quot; /&gt;&lt;/h1&gt;
</span><del>-                                &lt;form action='wpmu-edit.php?action=&lt;?php echo wp_specialchars( $_GET[ 'action2' ] ) ?&gt;' method='post'&gt;
</del><ins>+                                &lt;form action='ms-edit.php?action=&lt;?php echo wp_specialchars( $_GET[ 'action2' ] ) ?&gt;' method='post'&gt;
</ins><span class="cx">                                         &lt;input type='hidden' name='action' value='&lt;?php echo wp_specialchars( $_GET['action2'] ) ?&gt;' /&gt;
</span><span class="cx">                                         &lt;input type='hidden' name='id' value='&lt;?php echo wp_specialchars( $id ); ?&gt;' /&gt;
</span><span class="cx">                                         &lt;input type='hidden' name='ref' value='&lt;?php echo $referrer; ?&gt;' /&gt;
</span></span></pre></div>
<a id="trunkwpadminmsoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-options.php (12619 => 12620)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-options.php        2010-01-07 00:21:19 UTC (rev 12619)
+++ trunk/wp-admin/ms-options.php        2010-01-07 00:24:03 UTC (rev 12620)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">         &lt;h2&gt;&lt;?php _e('Site Options') ?&gt;&lt;/h2&gt;
</span><del>-        &lt;form method=&quot;post&quot; action=&quot;wpmu-edit.php?action=siteoptions&quot;&gt;
</del><ins>+        &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=siteoptions&quot;&gt;
</ins><span class="cx">                 &lt;?php wp_nonce_field( &quot;siteoptions&quot; ); ?&gt;
</span><span class="cx">                 &lt;h3&gt;&lt;?php _e('Operational Settings &lt;em&gt;(These settings cannot be modified by blog owners)&lt;/em&gt;') ?&gt;&lt;/h3&gt;
</span><span class="cx">                 &lt;table class=&quot;form-table&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadminmssitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-sites.php (12619 => 12620)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-sites.php        2010-01-07 00:21:19 UTC (rev 12619)
+++ trunk/wp-admin/ms-sites.php        2010-01-07 00:24:03 UTC (rev 12620)
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx">                 ?&gt;
</span><span class="cx">                 &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">                 &lt;h2&gt;&lt;?php _e('Edit Blog'); ?&gt; - &lt;a href='http://&lt;?php echo $details['domain'].$details['path']; ?&gt;'&gt;http://&lt;?php echo $details['domain'].$details['path']; ?&gt;&lt;/a&gt;&lt;/h2&gt;
</span><del>-                &lt;form method=&quot;post&quot; action=&quot;wpmu-edit.php?action=updateblog&quot;&gt; 
</del><ins>+                &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=updateblog&quot;&gt;
</ins><span class="cx">                         &lt;?php wp_nonce_field('editblog'); ?&gt;
</span><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;id&quot; value=&quot;&lt;?php echo esc_attr($id) ?&gt;&quot; /&gt; 
</span><span class="cx">                         &lt;div class='metabox-holder' style='width:49%;float:left;'&gt;
</span><span class="lines">@@ -377,7 +377,7 @@
</span><span class="cx">                         &lt;input type=&quot;submit&quot; class=&quot;button&quot; name=&quot;blog_ip&quot; value=&quot;&lt;?php esc_attr_e('by IP address') ?&gt;&quot; /&gt;
</span><span class="cx">                 &lt;/form&gt;
</span><span class="cx"> 
</span><del>-                &lt;form id=&quot;form-blog-list&quot; action=&quot;wpmu-edit.php?action=allblogs&quot; method=&quot;post&quot;&gt;
</del><ins>+                &lt;form id=&quot;form-blog-list&quot; action=&quot;ms-edit.php?action=allblogs&quot; method=&quot;post&quot;&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;div class=&quot;tablenav&quot;&gt;
</span><span class="cx">                         &lt;?php if ( $blog_navigation ) echo &quot;&lt;div class='tablenav-pages'&gt;$blog_navigation&lt;/div&gt;&quot;; ?&gt;
</span><span class="lines">@@ -478,21 +478,21 @@
</span><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><del>-                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=activateblog&amp;amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to activate the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Activate') . '&lt;/a&gt;';
</del><ins>+                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=activateblog&amp;amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to activate the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Activate') . '&lt;/a&gt;';
</ins><span class="cx">                                                                         else
</span><del>-                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=deactivateblog&amp;amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to deactivate the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Deactivate') . '&lt;/a&gt;';
</del><ins>+                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=deactivateblog&amp;amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to deactivate the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Deactivate') . '&lt;/a&gt;';
</ins><span class="cx">                                                                         
</span><span class="cx">                                                                         if( get_blog_status( $blog['blog_id'], &quot;archived&quot; ) == '1' )
</span><del>-                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=unarchiveblog&amp;amp;id=' .  $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to unarchive the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Unarchive') . '&lt;/a&gt;';
</del><ins>+                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=unarchiveblog&amp;amp;id=' .  $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to unarchive the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Unarchive') . '&lt;/a&gt;';
</ins><span class="cx">                                                                         else
</span><del>-                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=archiveblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to archive the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Archive') . '&lt;/a&gt;';
</del><ins>+                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=archiveblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to archive the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Archive') . '&lt;/a&gt;';
</ins><span class="cx">                                                                         
</span><span class="cx">                                                                         if( get_blog_status( $blog['blog_id'], &quot;spam&quot; ) == '1' )
</span><del>-                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=unspamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to unspam the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Not Spam') . '&lt;/a&gt;';
</del><ins>+                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=unspamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to unspam the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __('Not Spam') . '&lt;/a&gt;';
</ins><span class="cx">                                                                         else
</span><del>-                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=spamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to mark the blog %s as spam&quot; ), $blogname ) ) . '&quot;&gt;' . __(&quot;Spam&quot;) . '&lt;/a&gt;';
</del><ins>+                                                                                $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=spamblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to mark the blog %s as spam&quot; ), $blogname ) ) . '&quot;&gt;' . __(&quot;Spam&quot;) . '&lt;/a&gt;';
</ins><span class="cx">                                                                         
</span><del>-                                                                        $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;wpmu-edit.php?action=confirm&amp;amp;action2=deleteblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to delete the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __(&quot;Delete&quot;) . '&lt;/a&gt;';
</del><ins>+                                                                        $controlActions[]        = '&lt;a class=&quot;delete&quot; href=&quot;ms-edit.php?action=confirm&amp;amp;action2=deleteblog&amp;amp;id=' . $blog['blog_id'] . '&amp;amp;msg=' . urlencode( sprintf( __( &quot;You are about to delete the blog %s&quot; ), $blogname ) ) . '&quot;&gt;' . __(&quot;Delete&quot;) . '&lt;/a&gt;';
</ins><span class="cx">                                                                         
</span><span class="cx">                                                                         $controlActions[]        = &quot;&lt;a href='http://{$blog['domain']}{$blog['path']}' rel='permalink'&gt;&quot; . __('Visit') . '&lt;/a&gt;';
</span><span class="cx">                                                                         ?&gt;
</span><span class="lines">@@ -578,7 +578,7 @@
</span><span class="cx">                 &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">                         &lt;a name=&quot;form-add-blog&quot;&gt;&lt;/a&gt;
</span><span class="cx">                         &lt;h2&gt;&lt;?php _e('Add Blog') ?&gt;&lt;/h2&gt;
</span><del>-                        &lt;form method=&quot;post&quot; action=&quot;wpmu-edit.php?action=addblog&quot;&gt;
</del><ins>+                        &lt;form method=&quot;post&quot; action=&quot;ms-edit.php?action=addblog&quot;&gt;
</ins><span class="cx">                                 &lt;?php wp_nonce_field('add-blog') ?&gt;
</span><span class="cx">                                 &lt;table class=&quot;form-table&quot;&gt;
</span><span class="cx">                                         &lt;tr class=&quot;form-field form-required&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadminmsusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-users.php (12619 => 12620)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-users.php        2010-01-07 00:21:19 UTC (rev 12619)
+++ trunk/wp-admin/ms-users.php        2010-01-07 00:24:03 UTC (rev 12620)
</span><span class="lines">@@ -111,7 +111,7 @@
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx">         &lt;/div&gt;
</span><span class="cx"> 
</span><del>-        &lt;form id=&quot;form-user-list&quot; action='wpmu-edit.php?action=allusers' method='post'&gt;
</del><ins>+        &lt;form id=&quot;form-user-list&quot; action='ms-edit.php?action=allusers' method='post'&gt;
</ins><span class="cx">                 &lt;div class=&quot;tablenav&quot;&gt;
</span><span class="cx">                         &lt;?php if ( $user_navigation ) echo &quot;&lt;div class='tablenav-pages'&gt;$user_navigation&lt;/div&gt;&quot;; ?&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -183,8 +183,8 @@
</span><span class="cx">                                                         case 'login':
</span><span class="cx">                                                                 $avatar        = get_avatar( $user['user_email'], 32 );
</span><span class="cx">                                                                 $edit        = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), &quot;user-edit.php?user_id=&quot;.$user['ID'] ) );
</span><del>-                                                                // @todo Make delete link work like delete button with transfering users (in wpmu-edit.php)
-                                                                //$delete        = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), wp_nonce_url( 'wpmu-edit.php', 'deleteuser' ) . '&amp;amp;action=deleteuser&amp;amp;id=' . $user['ID'] ) );
</del><ins>+                                                                // @todo Make delete link work like delete button with transfering users (in ms-edit.php)
+                                                                //$delete        = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), wp_nonce_url( 'ms-edit.php', 'deleteuser' ) . '&amp;amp;action=deleteuser&amp;amp;id=' . $user['ID'] ) );
</ins><span class="cx">                                                                 ?&gt;
</span><span class="cx">                                                                 &lt;td class=&quot;username column-username&quot;&gt;
</span><span class="cx">                                                                         &lt;?php echo $avatar; ?&gt;&lt;strong&gt;&lt;a href=&quot;&lt;?php echo $edit; ?&gt;&quot; class=&quot;edit&quot;&gt;&lt;?php echo stripslashes($user['user_login']); ?&gt;&lt;/a&gt;&lt;/strong&gt;
</span><span class="lines">@@ -280,7 +280,7 @@
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">         &lt;h2&gt;&lt;?php _e('Add user') ?&gt;&lt;/h2&gt;
</span><del>-        &lt;form action=&quot;wpmu-edit.php?action=adduser&quot; method=&quot;post&quot;&gt;
</del><ins>+        &lt;form action=&quot;ms-edit.php?action=adduser&quot; method=&quot;post&quot;&gt;
</ins><span class="cx">         &lt;table class=&quot;form-table&quot;&gt;
</span><span class="cx">                 &lt;tr class=&quot;form-field form-required&quot;&gt;
</span><span class="cx">                         &lt;th scope='row'&gt;&lt;?php _e('Username') ?&gt;&lt;/th&gt;
</span></span></pre>
</div>
</div>

</body>
</html>