diff --git a/wp-includes/pomo/mo.php b/wp-includes/pomo/mo.php index dcac16c6b3..6a14b04389 100644 --- a/wp-includes/pomo/mo.php +++ b/wp-includes/pomo/mo.php @@ -13,6 +13,11 @@ require_once __DIR__ . '/streams.php'; if ( ! class_exists( 'MO', false ) ) : class MO extends Gettext_Translations { + /** + * Number of plural forms. + * + * @var int + */ public $_nplurals = 2; /** diff --git a/wp-includes/pomo/translations.php b/wp-includes/pomo/translations.php index 29ea11e45e..6a69ebdb3b 100644 --- a/wp-includes/pomo/translations.php +++ b/wp-includes/pomo/translations.php @@ -181,6 +181,21 @@ if ( ! class_exists( 'Translations', false ) ) : } class Gettext_Translations extends Translations { + + /** + * Number of plural forms. + * + * @var int + */ + public $_nplurals; + + /** + * Callback to retrieve the plural form. + * + * @var callable + */ + public $_gettext_select_plural_form; + /** * The gettext implementation of select_plural_form. * diff --git a/wp-includes/version.php b/wp-includes/version.php index ccdbdb6578..10cd00f425 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53956'; +$wp_version = '6.1-alpha-53957'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.