equal
deleted
inserted
replaced
5 * @package WordPress |
5 * @package WordPress |
6 * @subpackage Administration |
6 * @subpackage Administration |
7 */ |
7 */ |
8 |
8 |
9 if ( ! defined('WP_ADMIN') ) { |
9 if ( ! defined('WP_ADMIN') ) { |
10 // This file is being included from a file other than wp-admin/admin.php, so |
10 /* |
11 // some setup was skipped. Make sure the admin message catalog is loaded since |
11 * This file is being included from a file other than wp-admin/admin.php, so |
12 // load_default_textdomain() will not have done so in this context. |
12 * some setup was skipped. Make sure the admin message catalog is loaded since |
|
13 * load_default_textdomain() will not have done so in this context. |
|
14 */ |
13 load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' ); |
15 load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' ); |
14 } |
16 } |
15 |
17 |
16 /** WordPress Bookmark Administration API */ |
18 /** WordPress Bookmark Administration API */ |
17 require_once(ABSPATH . 'wp-admin/includes/bookmark.php'); |
19 require_once(ABSPATH . 'wp-admin/includes/bookmark.php'); |