Another step toward removing old table vars, this is why we should be careful about naming things! Fixes #2524
git-svn-id: http://svn.automattic.com/wordpress/trunk@3951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f20ce5d910
commit
b1aee5c2db
|
@ -91,18 +91,8 @@ if ( defined('CUSTOM_USER_TABLE') )
|
|||
if ( defined('CUSTOM_USER_META_TABLE') )
|
||||
$wpdb->usermeta = CUSTOM_USER_META_TABLE;
|
||||
|
||||
// We're going to need to keep this around for a few months even though we're not using it internally
|
||||
|
||||
$tableposts = $wpdb->posts;
|
||||
$tableusers = $wpdb->users;
|
||||
$tablecategories = $wpdb->categories;
|
||||
$tablepost2cat = $wpdb->post2cat;
|
||||
$tablecomments = $wpdb->comments;
|
||||
$tablelink2cat = $wpdb->link2cat;
|
||||
$tablelinks = $wpdb->links;
|
||||
$tablelinkcategories = $wpdb->linkcategories;
|
||||
$tableoptions = $wpdb->options;
|
||||
$tablepostmeta = $wpdb->postmeta;
|
||||
// To be removed in 2.2
|
||||
$tableposts = $tableusers = $tablecategories = $tablepost2cat = $tablecomments = $tablelink2cat = $tablelinks = $tablelinkcategories = $tableoptions = $tablepostmeta = '';
|
||||
|
||||
if ( file_exists(ABSPATH . 'wp-content/object-cache.php') )
|
||||
require (ABSPATH . 'wp-content/object-cache.php');
|
||||
|
|
Loading…
Reference in New Issue