diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-26 17:12:57 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-26 17:12:57 +0000 |
commit | 3504926f8687e7557e64c73bc668b90e5da64a76 (patch) | |
tree | b301263782fad87ea3edefb54553b7b1911ac31c | |
parent | 17e8f5a94bfb430c353c8333eb44ed4a01af3c85 (diff) | |
download | wordpress-mu-3504926f8687e7557e64c73bc668b90e5da64a76.tar.gz wordpress-mu-3504926f8687e7557e64c73bc668b90e5da64a76.tar.xz wordpress-mu-3504926f8687e7557e64c73bc668b90e5da64a76.zip |
get_text should work again
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@773 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-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(); |