Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#3951 closed defect (bug) (duplicate)

fix for postbypost archives

Reported by: flinkflonk's profile flinkflonk Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.2
Component: Template Keywords:
Focuses: Cc:


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)

fix-postbypost-query.diff (718 bytes) - added by flinkflonk 17 years ago.

Download all attachments as: .zip

Change History (6)

#1 @flinkflonk
17 years ago

  • Keywords has-patch added
  • Milestone changed from 2.3 to 2.2

#2 @flinkflonk
17 years ago

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 :)

#3 @westi
17 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.

#4 @foolswisdom
17 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.

#5 @ryan
17 years ago


Note: See TracTickets for help on using tickets.