Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#16013 closed defect (bug) (worksforme)

has_archive breaks wp-admin pagination

Reported by: ejdanderson Owned by: nacin
Priority: normal Milestone:
Component: Post Types Version: 3.1
Severity: normal Keywords:
Cc:

Description

When defining a custom post type with the has_archive argument set to true, backend pagination of that custom post type no longer works properly. Setting the Show On Screen number also appears to be broken with this argument, making it impossible, outside of searching or ordering to reach some posts.

Change History (7)

  • Milestone changed from Awaiting Review to 3.1
  • Owner set to nacin
  • Status changed from new to reviewing

The show on screen ability is related to ticket:15970 it looks like, not the has_archive argument.

Replying to ejdanderson:

When defining a custom post type with the has_archive argument set to true, backend pagination of that custom post type no longer works properly.

Can't reproduce on 3.1-RC1-17163. What are the exact steps to manifest it?

Couldn't reproduce either.

Please provide the code.

  • Keywords reporter-feedback added; custom post type has_archive removed
  • Resolution set to worksforme
  • Status changed from reviewing to closed

My mistake, the issue at hand came from an addon that was left in the directory which was attempting to customize archive templates based on the post type.

  • Keywords reporter-feedback removed
  • Milestone 3.1 deleted
Note: See TracTickets for help on using tickets.