Opened 12 years ago
Closed 12 years ago
#4430 closed defect (bug) (fixed)
Use _x() for passing strings as function parameters
Reported by: | boonebgorges | Owned by: | |
---|---|---|---|
Milestone: | 1.7 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Core | Keywords: | needs-patch has-patch |
Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
use _x() with a proper context when passing the string paramater to bp_core_get_last_activity()