mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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:
parent
2f090d1e30
commit
82472f5474
@ -423,6 +423,6 @@ function &get_translations_for_domain( $domain ) {
|
|||||||
* won't suffer from that problem.
|
* won't suffer from that problem.
|
||||||
*/
|
*/
|
||||||
function translate_user_role( $name ) {
|
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