From 097b18b559299c322aa393994f7003fb5e829196 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Wed, 3 Mar 2010 17:13:38 +0000 Subject: [PATCH] remove __( calls from ms startup, see #11644 git-svn-id: http://svn.automattic.com/wordpress/trunk@13575 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-load.php | 24 ++++++++++++------------ wp-includes/ms-settings.php | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php index 8e8a263ac..dca359051 100644 --- a/wp-includes/ms-load.php +++ b/wp-includes/ms-load.php @@ -170,9 +170,9 @@ function wpmu_current_site() { // Still no dice. // @todo Update or remove WPMU codex link. if ( 1 == count( $sites ) ) - wp_die( sprintf( __( 'That blog does not exist. Please try %s.' ), $sites[0]->domain . $sites[0]->path ) ); + wp_die( sprintf( 'That blog does not exist. Please try %s.', $sites[0]->domain . $sites[0]->path ) ); else - wp_die( __( 'No site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.' ) ); + wp_die( 'No site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.' ); } /** @@ -186,27 +186,27 @@ function wpmu_current_site() { function ms_not_installed() { global $wpdb, $domain, $path; - $msg = '

' . esc_html__( 'Fatal Error' ) . '

'; - $msg = '

' . __( 'If your site does not display, please contact the owner of this network.' ) . '

'; - $msg .= '

' . __( 'If you are the owner of this network please check that MySQL is running properly and all tables are error free.' ) . '

'; + $msg = '

' . esc_html( 'Fatal Error' ) . '

'; + $msg = '

' . 'If your site does not display, please contact the owner of this network.' . '

'; + $msg .= '

' . 'If you are the owner of this network please check that MySQL is running properly and all tables are error free.' . '

'; if ( ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ) - $msg .= '

' . sprintf( __( 'Database tables are missing. This means that MySQL is not running, WordPress was not installed properly, or someone deleted %s. You really should look at your database now.' ), $wpdb->site ) . '

'; + $msg .= '

' . sprintf( 'Database tables are missing. This means that MySQL is not running, WordPress was not installed properly, or someone deleted %s. You really should look at your database now.', $wpdb->site ) . '

'; else - $msg .= '

' . sprintf( __( 'Could Not Find Site! Searched for table %1$s in %2$s. Is that right?' ), $domain . $path, DB_NAME, $wpdb->blogs ) . '

'; - $msg .= '

' . esc_html__( 'What do I do now?' ) . '

'; + $msg .= '

' . sprintf( 'Could Not Find Site! Searched for table %1$s in %2$s. Is that right?', $domain . $path, DB_NAME, $wpdb->blogs ) . '

'; + $msg .= '

' . esc_html( 'What do I do now?' ) . '

'; // @todo Update WPMU codex link. - $msg .= '

' . __( 'Read the bug report page. Some of the guidelines there may help you figure out what went wrong.' ) . '

'; - $msg .= '

' . __( "If you're still stuck with this message, then check that your database contains the following tables:" ) . '