#3951 closed defect (bug) (duplicate)
fix for postbypost archives
| Reported by: | flinkflonk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | 2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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 :)