Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #52998


Ignore:
Timestamp:
04/08/2021 10:49:38 AM (3 years ago)
Author:
jonoaldersonwp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52998 – Description

    v1 v2  
    1919I propose that we should introduce a new filter into [https://github.com/WordPress/WordPress/blob/master/wp-includes/general-template.php#L4154 paginate_links] which allows theme/plugin authors to bypass the code block which merges in query parameters.
    2020
    21 The filter should accept a simple boolean value, which acts as a switch to skip the merging logic.
     21This could be used by sites/themes/plugins when they're confident that they don't need to persist queries.
     22
     23The filter should accept a simple boolean value, which acts as a switch to skip the merging logic.
    2224
    2325Alternatively: