Previewing pages with 'Pending Review' status with Permalinks turned on doesn't work
|Reported by:||dj-wp||Owned by:|
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.