[wp-trac] [WordPress Trac] #11520: print_scripts_l10n() should use json_encode()

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 31 08:20:03 UTC 2011

#11520: print_scripts_l10n() should use json_encode()
 Reporter:  scribu                  |       Owner:  azaozz
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  3.3
Component:  JavaScript              |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |

Comment (by azaozz):

 Replying to [comment:44 westi]:
 > We should just keep the wrapper function for now as the naming and usage
 for l10n is correct.

 Was thinking about this earlier today. Perhaps we should keep the old
 function and explain (in the phpdoc) that the name is "localize" because
 of historical reasons.

Ticket URL: <http://core.trac.wordpress.org/ticket/11520#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list