[wp-trac] [WordPress Trac] #52057: Small bug in pagination function paginate_links()
WordPress Trac
noreply at wordpress.org
Sun Dec 13 12:08:05 UTC 2020
#52057: Small bug in pagination function paginate_links()
--------------------------+-----------------------------
Reporter: kaderavek | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 5.6
Severity: trivial | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Hi,
we use on our site custom permalink structure - /%postname%-t%post_id% and
we don't have / on end of url.
When we use function paginate_links for categories there are all urls ok
except of first one - when you are e.g. there:
https://mladypodnikatel.cz/akce-setkani/page/4
then all pagination links are ok (we add custom fragment but in not works
if is without it too)
BUt the first link is with / in the end https://mladypodnikatel.cz/akce-
setkani/ and this generate redirect which we don't want.
Can you fix it please?
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52057>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list