[wp-trac] Re: [WordPress Trac] #3911: Javascript should not be localized by via PHP

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 6 00:34:39 GMT 2007


#3911: Javascript should not be localized by via PHP
-----------------------------------+----------------------------------------
 Reporter:  mdawaffe               |        Owner:  mdawaffe
     Type:  defect                 |       Status:  assigned
 Priority:  high                   |    Milestone:  2.2     
Component:  Optimization           |      Version:  2.1.2   
 Severity:  normal                 |   Resolution:          
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Old description:

> Example: list-manipulation-js.php has to load all of WordPress in order
> to localize just a two strings.
>
> We can extend the script loader class to include a JS snippet that
> overwrites the default strings.
>
> [BB605]

New description:

 Example: list-manipulation-js.php has to load all of WordPress in order to
 localize just a two strings.

 We can extend the script loader class to include a JS snippet that
 overwrites the default strings.

 {{{#BB605}}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3911#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list