Ticket #2887: wp-settings.php.diff
| File wp-settings.php.diff, 1.0 KB (added by , 20 years ago) |
|---|
-
Sewar/WordPress/SVN/wp-settings.php
174 174 require(ABSPATH . '/my-hacks.php'); 175 175 } 176 176 177 // Load the default text localization domain. 178 load_default_textdomain(); 179 180 // Pull in locale data after loading text domain. 181 require_once(ABSPATH . WPINC . '/locale.php'); 182 183 $wp_locale = new WP_Locale(); 184 177 185 if ( get_settings('active_plugins') ) { 178 186 $current_plugins = get_settings('active_plugins'); 179 187 if ( is_array($current_plugins) ) { … … 212 220 213 221 define('TEMPLATEPATH', get_template_directory()); 214 222 215 // Load the default text localization domain.216 load_default_textdomain();217 218 // Pull in locale data after loading text domain.219 require_once(ABSPATH . WPINC . '/locale.php');220 221 $wp_locale = new WP_Locale();222 223 223 // Load functions for active theme. 224 224 if ( file_exists(TEMPLATEPATH . "/functions.php") ) 225 225 include(TEMPLATEPATH . "/functions.php");