}
// 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;
$tablelinks = $wpdb->links;
$tablelinkcategories = $wpdb->linkcategories;
$tableoptions = $wpdb->options;
$tablepostmeta = $wpdb->postmeta;
require ABSPATH . WPINC . '/functions.php';
require ABSPATH . WPINC . '/default-filters.php';
require_once ABSPATH . WPINC . '/wp-l10n.php';
$wpdb->hide_errors();
if (!update_user_cache() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING'))) {
    if (strstr($_SERVER['PHP_SELF'], 'wp-admin')) {
        $link = 'install.php';
    } else {
        $link = 'wp-admin/install.php';
    }
    die(sprintf(__("It doesn't look like you've installed WP yet. Try running <a href='%s'>install.php</a>."), $link));
}
$wpdb->show_errors();
require ABSPATH . WPINC . '/functions-formatting.php';
require ABSPATH . WPINC . '/functions-post.php';
require ABSPATH . WPINC . '/classes.php';
require ABSPATH . WPINC . '/template-functions-general.php';
require ABSPATH . WPINC . '/template-functions-links.php';
require ABSPATH . WPINC . '/template-functions-author.php';
require ABSPATH . WPINC . '/template-functions-post.php';
$tableposts = $wpdb->posts;
$tableusers = $wpdb->users;
$tablecategories = $wpdb->categories;
$tablepost2cat = $wpdb->post2cat;
$tablecomments = $wpdb->comments;
$tablelinks = $wpdb->links;
$tablelinkcategories = $wpdb->linkcategories;
$tableoptions = $wpdb->options;
$tablepostmeta = $wpdb->postmeta;

require (ABSPATH . WPINC . '/functions.php');
require (ABSPATH . WPINC . '/default-filters.php');
require_once (ABSPATH . WPINC . '/wp-l10n.php');

$wpdb->hide_errors();
if ( !update_user_cache() && !strstr($_SERVER['PHP_SELF'], 'install.php') ) {
	if ( strstr($_SERVER['PHP_SELF'], 'wp-admin') )
		$link = 'install.php';
	else
		$link = 'wp-admin/install.php';
	die("It doesn't look like you've installed WP yet. Try running <a href='$link'>install.php</a>.");
}
$wpdb->show_errors();

require (ABSPATH . WPINC . '/functions-formatting.php');
require (ABSPATH . WPINC . '/functions-post.php');
require (ABSPATH . WPINC . '/classes.php');
require (ABSPATH . WPINC . '/template-functions-general.php');
require (ABSPATH . WPINC . '/template-functions-links.php');
require (ABSPATH . WPINC . '/template-functions-author.php');
require (ABSPATH . WPINC . '/template-functions-post.php');