[buddypress-trac] [BuddyPress] #4430: Use _x() for passing strings as function parameters

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Aug 12 19:22:36 UTC 2012


#4430: Use _x() for passing strings as function parameters
--------------------------+-------------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  1.7
Component:  Core          |    Version:
 Severity:  minor         |   Keywords:  needs-patch
--------------------------+-------------------------
 When passing strings as function parameters, as is done with
 bp_core_get_last_activity() here
 http://buddypress.trac.wordpress.org/browser/branches/1.6/bp-members/bp-
 members-template.php#L634, it's not at all clear from context what the
 arguments like %s should be. Here we shoud use _x() instead of __() to
 provide the necessary context.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4430>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list