-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
In LanguageFunctions.php:
function _n($textSingular, $textPlural, $count, $textdomain = null) {
return $count == 1 ? __($textSingular, $textdomain) : __($textPlural, $textdomain);
}
This function is considering zero as plural.
It should be:
function _n($textSingular, $textPlural, $count, $textdomain = null) {
return $count <=1 ? __($textSingular, $textdomain) : __($textPlural, $textdomain);
}