[wp-trac] [WordPress Trac] #13395: Introduce _ex to replace echo _x

WordPress Trac wp-trac at lists.automattic.com
Fri May 14 16:45:06 UTC 2010


#13395: Introduce _ex to replace echo _x
-------------------------+--------------------------------------------------
 Reporter:  westi        |       Owner:  westi                
     Type:  enhancement  |      Status:  new                  
 Priority:  normal       |   Milestone:  3.0                  
Component:  i18n         |     Version:  3.0                  
 Severity:  normal       |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------

Comment(by filosofo):

 I'd recommend {{{_ex}}} over {{{_e_x}}}:
  * Consistent with how {{{_n}}} and {{{_x}}} are combined into `_nx`
  * {{{[something]_[something else]}}} seems usually to connote that one
 function calls another, which doesn't really happen here (`echo` isn't a
 function and doesn't transform the value in question)

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


More information about the wp-trac mailing list