[buddypress-trac] [BuddyPress] #2524: replace deprecated _c() with _x()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jul 23 00:04:33 UTC 2010


#2524: replace deprecated _c() with _x()
-----------------------+----------------------------------------------------
 Reporter:  cnorris23  |       Owner:           
     Type:  defect     |      Status:  new      
 Priority:  normal     |   Milestone:  1.2.6    
Component:  Core       |    Keywords:  has-patch
-----------------------+----------------------------------------------------

Comment(by cnorris23):

 I just found the issue. Props to r-a-y for making me look at the docs a
 little harder this time. They output the same, but the parameters have
 changed. _x() accepts four parameters, while _c() only accepted two. The
 issue here is that the $domain parameter got bumped to slot three in _x(),
 rather than slot two as it was in _c(). Slot two for _x() now allows for a
 context for translators. I'll get the patch updated later tonight.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2524#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list