Docs: Fix incorrect docblock for `WP_Translation_Controller::translate_plural`.

Props szepeviktor.
See #60699.
Built from https://develop.svn.wordpress.org/trunk@58155


git-svn-id: http://core.svn.wordpress.org/trunk@57618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-05-15 09:07:11 +00:00
parent f695d7f8b9
commit c4dc645821
2 changed files with 6 additions and 6 deletions

View File

@ -282,16 +282,16 @@ final class WP_Translation_Controller {
*
* @since 6.5.0
*
* @param array{0: string, 1: string} $plurals {
* @param array $plurals {
* Pair of singular and plural translations.
*
* @type string $0 Singular translation.
* @type string $1 Plural translation.
* }
* @param int $number Number of items.
* @param string $context Optional. Context for the string. Default empty string.
* @param string $textdomain Optional. Text domain. Default 'default'.
* @param string $locale Optional. Locale. Default current locale.
* @param int $number Number of items.
* @param string $context Optional. Context for the string. Default empty string.
* @param string $textdomain Optional. Text domain. Default 'default'.
* @param string|null $locale Optional. Locale. Default current locale.
* @return string|false Translation on success, false otherwise.
*/
public function translate_plural( array $plurals, int $number, string $context = '', string $textdomain = 'default', ?string $locale = null ) {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-alpha-58150';
$wp_version = '6.6-alpha-58155';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.