WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#15730 closed defect (bug) (fixed)

Set queried object on CPT archives

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

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 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @scribu
9 years ago

  • Component changed from General to Post Types

@scribu
9 years ago

#2 @scribu
9 years ago

  • Keywords has-patch added

#3 @scribu
9 years ago

  • Severity changed from normal to minor

#4 @nacin
9 years ago

  • Keywords commit added

Looks good.

#5 @scribu
9 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.