mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-02 09:30:09 +00:00
Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
git-svn-id: https://develop.svn.wordpress.org/trunk@13797 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1831,7 +1831,7 @@ function is_blog_installed() {
|
||||
if ( defined('WP_REPAIRING') )
|
||||
return true;
|
||||
// Die with a DB error.
|
||||
$wpdb->error = __('One or more database tables are unavailable. The database may need to be <a href="maint/repair.php?referrer=is_blog_installed">repaired</a>.');
|
||||
$wpdb->error = sprintf( /*WP_I18N_NO_TABLES*/'One or more database tables are unavailable. The database may need to be <a href="%s">repaired</a>.'/*/WP_I18N_NO_TABLES*/, 'maint/repair.php?referrer=is_blog_installed' );
|
||||
dead_db();
|
||||
}
|
||||
}
|
||||
@@ -4081,5 +4081,4 @@ function __return_true() {
|
||||
*/
|
||||
function __return_false() {
|
||||
return false;
|
||||
}
|
||||
?>
|
||||
}
|
||||
Reference in New Issue
Block a user