Opened 4 years ago
Last modified 3 years ago
#10219 new enhancement
"Older Entries" and "Newer Entries" links are wrong when entries displayed in ascending order
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Future Release |
| Component: | Template | Version: | |
| Severity: | minor | Keywords: | needs-patch |
| Cc: |
Description
I added "?order=ASC" to a tag URL I was sending out to some people, because I wanted them to view a set of blog postings in ascending chronological order, and I noticed that the "Older Entries" and "Newer Entries" links at the bottom of the page were reversed.
I fixed this with the attached changes to the default theme. I don't know if this is the "right" fix, but it worked for me, and if it isn't quite wrong, perhaps at least it will give a more experienced WordPress developer than I an idea for how to fix it properly.
Attachments (1)
Change History (5)
- Component changed from General to Template
- Keywords needs-patch added
- Milestone changed from Unassigned to 2.9
- Priority changed from normal to low
- Severity changed from normal to minor
the functions should be fixed, rather.
The functions should probably swap behavior when order is swapped.
Closed #10219 as a duplicate.

patch to to switch the links when displaying in ascending order