Skip to content

Commit

Permalink
Adds _x() context for sprintf() text in bp_docs_get_item_term_id()
Browse files Browse the repository at this point in the history
Fixes #322
  • Loading branch information
boonebgorges committed May 27, 2013
1 parent e5aa6d3 commit feee587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function bp_docs_get_item_term_id( $item_id, $item_type, $item_name = '' ) {
}

$item_term_args = apply_filters( 'bp_docs_item_term_values', array(
'description' => sprintf( __( 'Docs associated with the %1$s %2$s', 'bp-docs' ), $item_type, $item_name ),
'description' => sprintf( _x( 'Docs associated with the %1$s %2$s', 'Description for the associated-item taxonomy term. Of the form "Docs associated with the [item-type] [item-name]" - item-type is group, user, etc', 'bp-docs' ), $item_type, $item_name ),
'slug' => $item_term_slug,
) );

Expand Down

0 comments on commit feee587

Please sign in to comment.