Opened 14 years ago
Closed 14 years ago
#4430 closed defect (bug) (fixed)
Use _x() for passing strings as function parameters
| Reported by: | boonebgorges | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.7 |
| Component: | Core | Version: | |
| Severity: | minor | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
use _x() with a proper context when passing the string paramater to bp_core_get_last_activity()