#16013 closed defect (bug) (worksforme)
has_archive breaks wp-admin pagination
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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
comment:2
ejdanderson — 2 years ago
comment:3
in reply to:
↑ description
SergeyBiryukov — 2 years ago
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?
- Keywords reporter-feedback added; custom post type has_archive removed
comment:6
ejdanderson — 2 years ago
- 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.

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