[wp-trac] [WordPress Trac] #28334: Paginate_links : First link and previous link are break
WordPress Trac
noreply at wordpress.org
Thu May 22 18:11:40 UTC 2014
#28334: Paginate_links : First link and previous link are break
-------------------------------+------------------------------
Reporter: nexurium | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: template
-------------------------------+------------------------------
Comment (by kitchin):
Note your first change can never branch, because 1 < $current there
always.
The condition 1 == $current is always correct for deciding whether to skip
adding "?page=$n" to archive links. Maybe your bug is that thing about a
blank last page of archives that happens sometimes, I forget why, maybe
because of private posts??
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28334#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list