Ticket #3951 (closed defect (bug): duplicate)

Opened 2 years ago

Last modified 2 years ago

fix for postbypost archives

Reported by: flinkflonk Assigned to: anonymous
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

fix-postbypost-query.diff (0.7 kB) - added by flinkflonk on 03/10/07 15:41:32.

Change History

03/10/07 15:41:32 changed by flinkflonk

  • attachment fix-postbypost-query.diff added.

03/13/07 09:27:34 changed by flinkflonk

  • keywords set to has-patch.
  • milestone changed from 2.3 to 2.2.

03/13/07 09:29:45 changed by flinkflonk

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

03/13/07 09:35:16 changed by westi

  • keywords changed from has-patch to has-patch commit.
  • priority changed from lowest to normal.
  • component changed from General to Template.

I have closed the later ticket as a dupe of this one.

03/14/07 02:31:45 changed by foolswisdom

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to duplicate.
  • milestone deleted.

Ryan ended up committing the other one.

03/14/07 02:46:33 changed by ryan

Oops.