WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/29/2014 04:02:23 AM (5 years ago)
Author:
wonderboymusic
Message:

In paginate_links(), ensure that query string args are propagated to the resulting paginated links.

Adds unit tests that use DOMDocument since assertTag is being deprecated - see #29545, [29746].

Props obenland, wonderboymusic.
Fixes #29636.

File:
1 edited

Legend:

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

    r29344 r29780  
    24862486        'mid_size' => 2,
    24872487        'type' => 'plain',
    2488         'add_args' => false, // array of query args to add
     2488        'add_args' => $query_args, // array of query args to add
    24892489        'add_fragment' => '',
    24902490        'before_page_number' => '',
Note: See TracChangeset for help on using the changeset viewer.