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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 21 17:41:07 UTC 2012


#19852: Don't load admin strings on the frontend
----------------------------+-----------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  3.4
Component:  I18N            |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by nacin):

 > I am not sure if I understand. There were 482 strings for multisite
 (3.3.1), 265 went to the network admin .pot file. But where are remaining
 strings (around 220 strings)?

 They are in either wordpress.pot, wordpress-admin.pot, or wordpress-admin-
 network.pot.

 > I mentioned especially memory problems...

 But we've already made some major improvements here. Multisite added a bit
 to both, but the frontend is still a major improvement. 100 extra strings
 in wordpress.pot and 100 extra strings in wordpress-admin.pot are not a
 big deal in terms of performance or translator efforts.

 Ryan and I suggest we declare what our priority is. For that, we suggest:
 ''improve frontend performance, with a focus on single-site''. What we can
 possibly do is this:

  * Move wp-login.php strings to wordpress-admin.pot and load wordpress-
 admin.pot on wp-login.php.
  * Create a single wordpress-ms.pot that contains 136 strings from wp-
 includes MS, wp-activate, and wp-signup.
  * Leave any multisite strings in wordpress-admin.pot (about 130), as that
 is not our priority at the moment.

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


More information about the wp-trac mailing list