diff options
-rw-r--r-- | wp-includes/l10n.php | 3 | ||||
-rw-r--r-- | wp-settings.php | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 33e34a8..b2b099c 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -58,8 +58,7 @@ function load_textdomain($domain, $mofile) { return; if ( is_readable($mofile)) - return; - //$input = new CachedFileReader($mofile); + $input = new CachedFileReader($mofile); else return; diff --git a/wp-settings.php b/wp-settings.php index 57bce50..1459781 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -144,6 +144,10 @@ define( "UPLOADS", "wp-content/blogs.dir/{$wpdb->blogid}/files" ); require (ABSPATH . WPINC . '/functions.php'); require (ABSPATH . WPINC . '/plugin.php'); require (ABSPATH . WPINC . '/default-filters.php'); + +include_once(ABSPATH . 'wp-includes/streams.php'); +include_once(ABSPATH . 'wp-includes/gettext.php'); + require_once (ABSPATH . WPINC . '/l10n.php'); $wpdb->hide_errors(); |