Make WordPress Core


Ignore:
Timestamp:
03/22/2010 06:51:49 AM (14 years ago)
Author:
nbachiyski
Message:

Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r13769 r13797  
    18321832                return true;
    18331833            // Die with a DB error.
    1834             $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>.');
     1834            $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' );
    18351835            dead_db();
    18361836        }
     
    40834083    return false;
    40844084}
    4085 ?>
Note: See TracChangeset for help on using the changeset viewer.