#3951 closed defect (bug) (duplicate)
fix for postbypost archives
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | 2.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I just tried out some themes that show the last 10 or so posts using get_archives. After converting this to a (non-deprecated) wp_get_archives I discovered it wasn't that which broke the database query, it was the code constructing the query, adding a term to order by without actually adding the words "order by" :)
Patch attached.
Attachments (1)
Change History (6)
flinkflonk — 6 years ago
comment:1
flinkflonk — 6 years ago
- Keywords has-patch added
- Milestone changed from 2.3 to 2.2
comment:2
flinkflonk — 6 years ago
- Component changed from General to Template
- Keywords commit added
- Priority changed from lowest to normal
I have closed the later ticket as a dupe of this one.
comment:4
foolswisdom — 6 years ago
- Keywords has-patch commit removed
- Milestone 2.2 deleted
- Resolution set to duplicate
- Status changed from new to closed
Ryan ended up committing the other one.
Note: See
TracTickets for help on using
tickets.

but ok, I see this has been opened by one of the regulars (foolswisdom) as #3961 and a commit-candidate. Just remember to close this when you apply #3961 :)