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:
parent
ce546f6edd
commit
f6f03210e4
@ -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' );
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user