Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r19504 r19772  
    66 * @subpackage Administration
    77 */
     8
     9if ( ! defined('WP_ADMIN') ) {
     10        // This file is being included from a file other than wp-admin/admin.php, so
     11        // some setup was skipped. Make sure the admin message catalog is loaded since
     12        // load_default_textdomain() will not have done so in this context.
     13        load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' );
     14}
    815
    916/** WordPress Bookmark Administration API */
    … …  
    6471        require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
    6572}
    66 
    67 ?>
Note: See TracChangeset for help on using the changeset viewer.