[wp-trac] [WordPress Trac] #10219: "Older Entries" and "Newer Entries" links are wrong when entries displayed in ascending order
WordPress Trac
noreply at wordpress.org
Mon Oct 20 21:34:06 UTC 2025
#10219: "Older Entries" and "Newer Entries" links are wrong when entries displayed
in ascending order
--------------------------------+------------------------------------------
Reporter: jikamens | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: Bundled Theme | Version: 3.2
Severity: normal | Resolution:
Keywords: has-test-info has- | Focuses: ui, accessibility, template
patch |
--------------------------------+------------------------------------------
Comment (by sabernhardt):
I tested five URLs:
These three all displayed posts in the default descending order.
{{{
http://localhost/svn/src/tag/alice/page/2/
http://localhost/svn/src/tag/alice/page/2/?order=DESC
http://localhost/svn/src/tag/alice/page/2/?order=desc
}}}
Both of these displayed posts in ascending order, regardless of letter
case.
{{{
http://localhost/svn/src/tag/alice/page/2/?order=ASC
http://localhost/svn/src/tag/alice/page/2/?order=asc
}}}
Twenty Ten has the posts navigation links in a `loop.php` template instead
of `functions.php`, and I just made that PR in a manner similar to the
patches for T11, T12 and T13.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10219#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list