mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0d3ce58ccb
commit
91e47a25d8
@ -253,7 +253,7 @@ function _nc( $single, $plural, $number, $domain = 'default' ) {
|
|||||||
function _nx($single, $plural, $number, $context, $domain = 'default') {
|
function _nx($single, $plural, $number, $context, $domain = 'default') {
|
||||||
$translations = &get_translations_for_domain( $domain );
|
$translations = &get_translations_for_domain( $domain );
|
||||||
$translation = $translations->translate_plural( $single, $plural, $number, $context );
|
$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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user