[wp-trac] [WordPress Trac] #10922: "Preview" button does not obey permalink settings
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 7 03:51:28 UTC 2009
#10922: "Preview" button does not obey permalink settings
--------------------------+-------------------------------------------------
Reporter: philfreo | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Permalinks | Version: 2.8.4
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Context:
When working on a draft post, there's a "Preview" button that opens a new
window to the post URL with "preview=true" in the querystring.
Expected Behavior:
The URL that gets opened would be the same URL that would, when published,
be used across the rest of the site, based upon the Permalink settings
(but with preview=true in the QS).
Actual Behavior:
The URL that opens up doesn't use the pretty URL based on the settings in
Permalinks. Rather it uses the ?p=123 format for the URL. If I manually
change the URL to the page-slug (according to my Permalink settings) and
add preview=true to the QS then it works - so this should be an easy fix
on the edit post page.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10922>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list