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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 18 20:27:07 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          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by pavelevap):

 I think that there will be special textdomain needed, which have to be
 manually added to particular strings?

 Example:

 wp-includes/general-template.php:

 1) function register_admin_color_schemes() - contains strings for
 administration.

 2) function get_search_form() - contains strings for frontend.

 And other problem: Some general strings are same for frontend and backend,
 for example "Comments", etc. So, there will be need for adding them to
 both textdomain files.

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


More information about the wp-trac mailing list