Opened 17 years ago
Closed 17 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9 |
| Component: | Administration | Version: | 2.8.5 |
| Severity: | normal | Keywords: | has-patch tested |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed behaviour in trunk, with permalinks turned on.
Patch works.