[wp-trac] [WordPress Trac] #18783: get_locale() should check site option in multisite even when WP_INSTALLING

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 24 15:47:17 UTC 2012


#18783: get_locale() should check site option in multisite even when WP_INSTALLING
--------------------------+-----------------------
 Reporter:  nacin         |       Owner:  nacin
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.3
Component:  Multisite     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------
Changes (by foxinni):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Simple filter to force the locale:

 {{{
 function modify_locale(){
     return 'de_DE';
 }
 add_filter('locale','modify_locale');
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18783#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list