Opened 15 years ago
Closed 15 years ago
#11199 closed defect (bug) (fixed)
Previewing pages with 'Pending Review' status with Permalinks turned on doesn't work
Reported by: | dj-wp | Owned by: | |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.8.5 |
Component: | Administration | Keywords: | has-patch tested |
Focuses: | Cc: |
Description
Hi,
I am running a fresh WordPress install using version 2.8.5. This scenario only happens with Permalinks turned on.
Reproducing the bug
- Click the "Add New" under "Pages" in the admin menu.
- Define a title and a content.
- Change status to "Pending Review".
- Click "Save as Pending".
- The "View Page" and "Preview" links do not have the "page_id" GET parameter as part of their URLS. Therefore, the page cannot be previewed.
I have checked the WP trunk and it doesn't seem to have been fixed yet. I have modified the core to make it work. Here's a patch for it, it seems to be working fine on my install.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Confirmed behaviour in trunk, with permalinks turned on.
Patch works.