From dcf3026244d2d85e6f64659117e34edd05b511ef Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 6 Aug 2009 19:27:52 +0000 Subject: [PATCH] Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen. git-svn-id: https://develop.svn.wordpress.org/trunk@11780 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 0485049727..bc256867de 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -253,7 +253,7 @@ function _nc( $single, $plural, $number, $domain = 'default' ) { function _nx($single, $plural, $number, $context, $domain = 'default') { $translations = &get_translations_for_domain( $domain ); $translation = $translations->translate_plural( $single, $plural, $number, $context ); - return apply_filters( 'ngettext_with_context ', $translation, $single, $plural, $number, $context, $domain ); + return apply_filters( 'ngettext_with_context', $translation, $single, $plural, $number, $context, $domain ); } /**