From f6f03210e4d73ee8f9461f2e9b0b4eea157628c4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 25 Jun 2009 17:18:56 +0000 Subject: [PATCH] Fix role translation. fixes #10270 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@11640 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/l10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 335bc119c8..23ab4ebaf0 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -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' ); } ?>