Fix role translation. fixes #10270 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@11640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-06-25 17:18:56 +00:00
parent 2f090d1e30
commit 82472f5474
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' );
}
?>