From a9e5a09bccf83d2aa0fb579499c1248f2b2f622f Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 22 Sep 2022 09:26:15 +0000 Subject: [PATCH] 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 --- wp-includes/general-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index c687fd0138..8aaf5bd061 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -4454,8 +4454,8 @@ function language_attributes( $doctype = 'html' ) { * Default 1. * @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_text The previous page text. Default '« Previous'. - * @type bool $next_text The next page text. Default 'Next »'. + * @type string $prev_text The previous page text. Default '« Previous'. + * @type string $next_text The next page text. Default 'Next »'. * @type string $type Controls format of the returned value. Possible values are 'plain', * 'array' and 'list'. Default is 'plain'. * @type array $add_args An array of query args to add. Default false. diff --git a/wp-includes/version.php b/wp-includes/version.php index ad7b5ea95c..45bf3ff653 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.