diff --git a/wp-includes/l10n/class-wp-translations.php b/wp-includes/l10n/class-wp-translations.php index e177e1d8c5..e919fea8b9 100644 --- a/wp-includes/l10n/class-wp-translations.php +++ b/wp-includes/l10n/class-wp-translations.php @@ -124,7 +124,7 @@ class WP_Translations { } // Fall back to the original with English grammar rules. - return ( 1 === $count ? $singular : $plural ); + return ( 1 === (int) $count ? $singular : $plural ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 438f886723..2130dc4cf2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60483'; +$wp_version = '6.9-alpha-60484'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.