Make WordPress Core


Ignore:
Timestamp:
01/26/2012 08:34:27 PM (13 years ago)
Author:
nacin
Message:

Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r19758 r19760  
    7171require( ABSPATH . WPINC . '/class-wp-error.php' );
    7272require( ABSPATH . WPINC . '/plugin.php' );
     73require( ABSPATH . WPINC . '/pomo/mo.php' );
    7374
    7475// Include the wpdb class and, if present, a db.php database drop-in.
     
    8283wp_start_object_cache();
    8384
    84 // Load early WordPress files.
     85// Attach the default filters.
    8586require( ABSPATH . WPINC . '/default-filters.php' );
    86 require( ABSPATH . WPINC . '/pomo/mo.php' );
    8787
    8888// Initialize multisite if enabled.
     
    101101
    102102// Load the L10n library.
    103 require( ABSPATH . WPINC . '/l10n.php' );
     103require_once( ABSPATH . WPINC . '/l10n.php' );
    104104
    105105// Run the installer if WordPress is not installed.
     
    269269
    270270// Pull in locale data after loading text domain.
    271 require( ABSPATH . WPINC . '/locale.php' );
     271require_once( ABSPATH . WPINC . '/locale.php' );
    272272
    273273/**
Note: See TracChangeset for help on using the changeset viewer.