Make WordPress Core


Ignore:
Timestamp:
09/22/2022 09:24:17 AM (2 years ago)
Author:
audrasjb
Message:

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r54267 r54286  
    44554455 *     @type int    $mid_size           How many numbers to either side of the current pages. Default 2.
    44564456 *     @type bool   $prev_next          Whether to include the previous and next links in the list. Default true.
    4457  *     @type bool  $prev_text          The previous page text. Default '« Previous'.
    4458  *     @type bool  $next_text          The next page text. Default 'Next »'.
     4457 *     @type string $prev_text          The previous page text. Default '« Previous'.
     4458 *     @type string $next_text          The next page text. Default 'Next »'.
    44594459 *     @type string $type               Controls format of the returned value. Possible values are 'plain',
    44604460 *                                      'array' and 'list'. Default is 'plain'.
Note: See TracChangeset for help on using the changeset viewer.