Fix role translation. fixes #10270 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@11640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-06-25 17:18:56 +00:00
parent ce546f6edd
commit f6f03210e4
1 changed files with 1 additions and 1 deletions

View File

@ -423,6 +423,6 @@ function &get_translations_for_domain( $domain ) {
* won't suffer from that problem.
*/
function translate_user_role( $name ) {
return before_last_bar( translate_with_gettext_context( $name, 'User role' ) );
return translate_with_gettext_context( before_last_bar($name), 'User role' );
}
?>