Cleanup wp-l10n includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -58,14 +58,13 @@ $tableoptions = $wpdb->options;
|
||||
$tablepostmeta = $wpdb->postmeta;
|
||||
|
||||
require (ABSPATH . WPINC . '/functions.php');
|
||||
require_once (ABSPATH . WPINC . '/wp-l10n.php');
|
||||
|
||||
$wpdb->hide_errors();
|
||||
if ( !update_user_cache() && !strstr($_SERVER['PHP_SELF'], 'install.php') )
|
||||
die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>.");
|
||||
$wpdb->show_errors();
|
||||
|
||||
require_once (ABSPATH . WPINC . '/wp-l10n.php');
|
||||
|
||||
require (ABSPATH . WPINC . '/functions-formatting.php');
|
||||
require (ABSPATH . WPINC . '/functions-post.php');
|
||||
require (ABSPATH . WPINC . '/classes.php');
|
||||
|
||||
Reference in New Issue
Block a user