Docs: Fix prev_text and next_text parameters type in paginate_links().

Props gabri3lmarques, maximemeganck.
Fixes #56622.
See #55646.

Built from https://develop.svn.wordpress.org/trunk@54286


git-svn-id: http://core.svn.wordpress.org/trunk@53845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-22 09:26:15 +00:00
parent f6fc33d81b
commit a9e5a09bcc
2 changed files with 3 additions and 3 deletions

View File

@ -4454,8 +4454,8 @@ function language_attributes( $doctype = 'html' ) {
* Default 1. * Default 1.
* @type int $mid_size How many numbers to either side of the current pages. Default 2. * @type int $mid_size How many numbers to either side of the current pages. Default 2.
* @type bool $prev_next Whether to include the previous and next links in the list. Default true. * @type bool $prev_next Whether to include the previous and next links in the list. Default true.
* @type bool $prev_text The previous page text. Default '« Previous'. * @type string $prev_text The previous page text. Default '« Previous'.
* @type bool $next_text The next page text. Default 'Next »'. * @type string $next_text The next page text. Default 'Next »'.
* @type string $type Controls format of the returned value. Possible values are 'plain', * @type string $type Controls format of the returned value. Possible values are 'plain',
* 'array' and 'list'. Default is 'plain'. * 'array' and 'list'. Default is 'plain'.
* @type array $add_args An array of query args to add. Default false. * @type array $add_args An array of query args to add. Default false.

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-beta1-54285'; $wp_version = '6.1-beta1-54286';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.