Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15730 closed defect (bug) (fixed)

Set queried object on CPT archives

Reported by: scribu's profile scribu Owned by:
Milestone: 3.1 Priority: normal
Severity: minor Version:
Component: Posts, Post Types Keywords: has-patch commit
Focuses: Cc:

Description

On custom post type archives, the queried object should be set to the post type object.

Attachments (1)

15730.diff (1.0 KB) - added by scribu 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @scribu
14 years ago

  • Component changed from General to Post Types

@scribu
14 years ago

#2 @scribu
14 years ago

  • Keywords has-patch added

#3 @scribu
14 years ago

  • Severity changed from normal to minor

#4 @nacin
14 years ago

  • Keywords commit added

Looks good.

#5 @scribu
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16792]) Set queried object on CPT archives. Fixes #15730

Note: See TracTickets for help on using tickets.