Opened 2 years ago
Closed 2 years ago
#16208 closed defect (bug) (fixed)
Redirect list table requests with paged greater than total pages.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description
Some list table pages have redirects for when paged is greater than the total number of pages. Some list table pages don't have the redirect. We should centralize this behavior.
See #16187
Attachments (3)
Change History (13)
garyc40
— 2 years ago
check for headers_sent() as well, so that it won't break plugins and themes in case they prepare_items() after headers are sent
comment:2
markjaquith
— 2 years ago
- Owner set to markjaquith
- Status changed from new to accepted
comment:4
SergeyBiryukov
— 2 years ago
Related: #16357
comment:5
SergeyBiryukov
— 2 years ago
With ticket:16357:garyc40.16356.2.diff, hasn't this actually become a duplicate of #16357?
comment:6
garyc40
— 2 years ago
I thought so at first, but then it seems like ticket:16357:garyc40.16356.2.diff is too much for 3.1 when we're at RC 3.
Mark Jaquith agreed that we could try that patch out early in 3.2. So I guess it's safe to leave this ticket open until then.
I'll refresh the patch we have here after 3.1 is out.
comment:7
scribu
— 2 years ago
- Keywords 3.2-early removed
- Milestone changed from Future Release to 3.2
comment:8
johnjamesjacoby
— 2 years ago
Tested garyc40.16208.2.diff and refreshed to 16208.patch. Some changes to plugin-install.php and theme-install.php caused it to not apply cleanly.
Tested pagination out of bounds on all the changed pages, and it behaves as intended.
comment:10
markjaquith
— 2 years ago
- Resolution set to fixed
- Status changed from accepted to closed
In [17900]:
first attempt, needs sanity check