[wp-trac] [WordPress Trac] #10879: nonlocalised strings in edit functions

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 29 21:00:16 UTC 2009


#10879: nonlocalised strings in edit functions
--------------------------+-------------------------------------------------
 Reporter:  thomask       |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  i18n          |     Version:            
 Severity:  trivial       |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by ryan):

 Values for argument defaults must be constant. Function output is not
 allowed.  What we've been doing is converting the default to null and then
 setting null arguments to the translated default in the function body.

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


More information about the wp-trac mailing list