<!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>[16172] trunk/wp-admin: complete the renaming.</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/16172">16172</a></dd>
<dt>Author</dt> <dd>scribu</dd>
<dt>Date</dt> <dd>2010-11-03 22:06:45 +0000 (Wed, 03 Nov 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>complete the renaming. props ocean90. See <a href="http://trac.wordpress.org/ticket/14579">#14579</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminajaxphp">trunk/wp-admin/admin-ajax.php</a></li>
<li><a href="#trunkwpadmineditcommentsphp">trunk/wp-admin/edit-comments.php</a></li>
<li><a href="#trunkwpadminedittagsphp">trunk/wp-admin/edit-tags.php</a></li>
<li><a href="#trunkwpadmineditphp">trunk/wp-admin/edit.php</a></li>
<li><a href="#trunkwpadminlinkmanagerphp">trunk/wp-admin/link-manager.php</a></li>
<li><a href="#trunkwpadminnetworksitesphp">trunk/wp-admin/network/sites.php</a></li>
<li><a href="#trunkwpadminnetworkthemesphp">trunk/wp-admin/network/themes.php</a></li>
<li><a href="#trunkwpadminnetworkusersphp">trunk/wp-admin/network/users.php</a></li>
<li><a href="#trunkwpadminplugininstallphp">trunk/wp-admin/plugin-install.php</a></li>
<li><a href="#trunkwpadminpluginsphp">trunk/wp-admin/plugins.php</a></li>
<li><a href="#trunkwpadminthemeinstallphp">trunk/wp-admin/theme-install.php</a></li>
<li><a href="#trunkwpadminthemesphp">trunk/wp-admin/themes.php</a></li>
<li><a href="#trunkwpadminuploadphp">trunk/wp-admin/upload.php</a></li>
<li><a href="#trunkwpadminusersphp">trunk/wp-admin/users.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminadminajaxphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/admin-ajax.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin-ajax.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/admin-ajax.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -518,7 +518,7 @@
</span><span class="cx">         if ( isset($_POST['screen']) )
</span><span class="cx">                 set_current_screen($_POST['screen']);
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Terms_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Terms');
</ins><span class="cx">
</span><span class="cx">         $level = 0;
</span><span class="cx">         if ( is_taxonomy_hierarchical($taxonomy) ) {
</span><span class="lines">@@ -582,7 +582,7 @@
</span><span class="cx">         if ( !current_user_can( 'edit_posts' ) )
</span><span class="cx">                 die('-1');
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Comments_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Comments');
</ins><span class="cx">         $wp_list_table->from_ajax = true;
</span><span class="cx">
</span><span class="cx">         $wp_list_table->prepare_items();
</span><span class="lines">@@ -611,7 +611,7 @@
</span><span class="cx">         if ( !current_user_can( 'edit_post', $post_ID ) )
</span><span class="cx">                 die('-1');
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Post_Comments_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Post_Comments');
</ins><span class="cx">
</span><span class="cx">         $wp_list_table->prepare_items();
</span><span class="cx">
</span><span class="lines">@@ -636,7 +636,7 @@
</span><span class="cx"> case 'replyto-comment' :
</span><span class="cx">         check_ajax_referer( $action, '_ajax_nonce-replyto-comment' );
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Comments_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Comments');
</ins><span class="cx">         $wp_list_table->checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
</span><span class="cx">
</span><span class="cx">         $comment_post_ID = (int) $_POST['comment_post_ID'];
</span><span class="lines">@@ -717,7 +717,7 @@
</span><span class="cx">         $comments_status = isset($_POST['comments_listing']) ? $_POST['comments_listing'] : '';
</span><span class="cx">
</span><span class="cx">         $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;
</span><del>-        $wp_list_table = get_list_table( $checkbox ? 'WP_Comments_List_Table' : 'WP_Post_Comments_List_Table' );
</del><ins>+        $wp_list_table = get_list_table( $checkbox ? 'WP_List_Table_Comments' : 'WP_List_Table_Post_Comments' );
</ins><span class="cx">
</span><span class="cx">         ob_start();
</span><span class="cx">                 $wp_list_table->single_row( get_comment( $comment_id ) );
</span><span class="lines">@@ -894,7 +894,7 @@
</span><span class="cx">         }
</span><span class="cx">         $user_object = new WP_User( $user_id );
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Users_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Users');
</ins><span class="cx">
</span><span class="cx">         $x = new WP_Ajax_Response( array(
</span><span class="cx">                 'what' => 'user',
</span><span class="lines">@@ -1193,7 +1193,7 @@
</span><span class="cx">         // update the post
</span><span class="cx">         edit_post();
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Posts_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Posts');
</ins><span class="cx">
</span><span class="cx">         $mode = $_POST['post_view'];
</span><span class="cx">         $wp_list_table->display_rows( array( get_post( $_POST['post_ID'] ) ) );
</span><span class="lines">@@ -1203,7 +1203,7 @@
</span><span class="cx"> case 'inline-save-tax':
</span><span class="cx">         check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' );
</span><span class="cx">
</span><del>-        $wp_list_table = get_list_table('WP_Terms_List_Table');
</del><ins>+        $wp_list_table = get_list_table('WP_List_Table_Terms');
</ins><span class="cx">
</span><span class="cx">         $wp_list_table->check_permissions('edit');
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmineditcommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-comments.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-comments.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/edit-comments.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Comments_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Comments');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> $doaction = $wp_list_table->current_action();
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/edit-tags.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Terms_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Terms');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> $title = $tax->labels->name;
</span></span></pre></div>
<a id="trunkwpadmineditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/edit.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once( './admin.php' );
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Posts_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Posts');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> // Back-compat for viewing comments of an entry
</span></span></pre></div>
<a id="trunkwpadminlinkmanagerphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/link-manager.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/link-manager.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/link-manager.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** Load WordPress Administration Bootstrap */
</span><span class="cx"> require_once ('admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Links_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Links');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> // Handle bulk deletes
</span></span></pre></div>
<a id="trunkwpadminnetworksitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/sites.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/sites.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/network/sites.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> if ( ! is_multisite() )
</span><span class="cx">         wp_die( __( 'Multisite support is not enabled.' ) );
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_MS_Sites_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_MS_Sites');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> $title = __( 'Sites' );
</span></span></pre></div>
<a id="trunkwpadminnetworkthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/themes.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/themes.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/network/themes.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx">
</span><span class="cx"> require_once( './admin.php' );
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_MS_Themes_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_MS_Themes');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> $action = $wp_list_table->current_action();
</span></span></pre></div>
<a id="trunkwpadminnetworkusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/users.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/users.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/network/users.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx">
</span><span class="cx"> require_once( './admin.php' );
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_MS_Users_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_MS_Users');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx"> $wp_list_table->prepare_items();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminplugininstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugin-install.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugin-install.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/plugin-install.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Plugin_Install_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Plugin_Install');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx"> $wp_list_table->prepare_items();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminpluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugins.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugins.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/plugins.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Plugins_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Plugins');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> $action = $wp_list_table->current_action();
</span></span></pre></div>
<a id="trunkwpadminthemeinstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/theme-install.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/theme-install.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/theme-install.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Theme_Install_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Theme_Install');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx"> $wp_list_table->prepare_items();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/themes.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/themes.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/themes.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once('./admin.php');
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Themes_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Themes');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> if ( current_user_can('switch_themes') && isset($_GET['action']) ) {
</span></span></pre></div>
<a id="trunkwpadminuploadphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/upload.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/upload.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/upload.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once( './admin.php' );
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Media_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Media');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> // Handle bulk actions
</span></span></pre></div>
<a id="trunkwpadminusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/users.php (16171 => 16172)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/users.php        2010-11-03 21:09:27 UTC (rev 16171)
+++ trunk/wp-admin/users.php        2010-11-03 22:06:45 UTC (rev 16172)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx"> /** WordPress Administration Bootstrap */
</span><span class="cx"> require_once( './admin.php' );
</span><span class="cx">
</span><del>-$wp_list_table = get_list_table('WP_Users_List_Table');
</del><ins>+$wp_list_table = get_list_table('WP_List_Table_Users');
</ins><span class="cx"> $wp_list_table->check_permissions();
</span><span class="cx">
</span><span class="cx"> $title = __('Users');
</span></span></pre>
</div>
</div>
</body>
</html>