[wp-cvs] wordpress wp-settings.php,1.68,1.69
Ryan Boren
rboren at users.sourceforge.net
Sat Jan 29 23:17:12 GMT 2005
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4869
Modified Files:
wp-settings.php
Log Message:
Set the locale and load the default text domain after plugins are loaded so that plugins can manipulate the locale. Bug 765.
Index: wp-settings.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-settings.php,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** wp-settings.php 27 Jan 2005 15:20:46 -0000 1.68
--- wp-settings.php 29 Jan 2005 23:17:10 -0000 1.69
***************
*** 102,105 ****
--- 102,111 ----
define('TEMPLATEPATH', get_template_directory());
+ // Load the default text localization domain.
+ load_default_textdomain();
+
+ // Pull in locale data after loading text domain.
+ require_once(ABSPATH . WPINC . '/locale.php');
+
if ( !get_magic_quotes_gpc() ) {
$_GET = add_magic_quotes($_GET );
More information about the cvs
mailing list