[wp-trac] [WordPress Trac] #53868: Add option to `paginate_links` to apply format on all pages

WordPress Trac noreply at wordpress.org
Fri Nov 26 10:12:33 UTC 2021


#53868: Add option to `paginate_links` to apply format on all pages
-------------------------------------------------+-------------------------
 Reporter:  ntsekouras                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info reporter-feedback                 |
-------------------------------------------------+-------------------------

Comment (by ntsekouras):

 >@ntsekouras how does this new argument help in the Query Pagination? Is
 there an open issue in Gutenberg requesting this change? If yes, please
 link here for further context.

 A [workaround PR in Gutenberg
 repo]https://github.com/WordPress/gutenberg/pull/33629 has been merged and
 there are more details of the problem in the description as well.


 >Are there other use cases where this new argument helps? (I'm curious.)

 Currently this helps to have multiple custom queries pagination work
 properly. Before someone who needed to implement this, had to do it
 manually and it seems it wasn't a common use case but it existed. This is
 needed for core, as `Query Loop` block is part of core since 5.8, and
 multiple custom queries are easily implemented.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53868#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list