[wp-trac] [WordPress Trac] #10971: Translate functions when no locale are expensive no-ops

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 19 03:01:22 UTC 2009


#10971: Translate functions when no locale are expensive no-ops
--------------------------+-------------------------------------------------
 Reporter:  johanee       |       Owner:  westi    
     Type:  defect (bug)  |      Status:  accepted 
 Priority:  normal        |   Milestone:  2.9      
Component:  Performance   |     Version:  2.9      
 Severity:  major         |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by johanee):

 Good.

 Regarding the filters, though: if you mean the gettext[_with_domain]
 filters please note that the cases there were identical as far as
 consumers of the filter are concerned (in the original patch).

 I'll attach an updated version of the original approach that makes this
 more clear, just to be sure. Please select whichever approach you prefer.

 If you want any modifications to any of the approaches or have any further
 questions please just say so.

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


More information about the wp-trac mailing list