[wp-trac] [WordPress Trac] #19852: Don't load admin strings on the frontend

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 18 18:14:01 UTC 2012


#19852: Don't load admin strings on the frontend
----------------------------+-----------------
 Reporter:  nacin           |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  3.4
Component:  I18N            |    Version:
 Severity:  normal          |   Keywords:
----------------------------+-----------------
 We should take the same approach as we did for multisite strings, and only
 load admin strings in the admin.

 This should be handled in load_default_textdomain(). Additionally,
 includes/admin.php should load the admin mo file if it is not already
 loaded, in the case of the frontend calling on the admin bootstrap (which
 we, for example, do in admin-ajax).

 This came out of #19832.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19852>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list