[wp-trac] [WordPress Trac] #39251: Support end_size=0 in paginate_links()

WordPress Trac noreply at wordpress.org
Mon Dec 12 17:27:03 UTC 2016


#39251: Support end_size=0 in paginate_links()
------------------------------------------+-----------------------------
 Reporter:  danielbachhuber               |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  General                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------
Description changed by danielbachhuber:

Old description:

> Passing `end_size=0` produces one link when I'd expect it to produce zero
> links.

New description:

 Passing `end_size=0` produces one link when I'd expect it to produce zero
 links.

 When using `paginate_links()` on the homepage of a site with thousands of
 posts, having an end size link of 1885, etc. is a bit crazy.

--

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


More information about the wp-trac mailing list