Opened 15 years ago
Closed 15 years ago
#11688 closed defect (bug) (fixed)
Wrong preview link for draft/preview on admin post index
Reported by: | MMN-o | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | low |
Severity: | trivial | Version: | 2.9 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
The preview link on /wp-admin/edit.php for $post->post_status 'pending' or 'draft' is generated without the GET variable "preview".
The attached patch simply adds '&preview=true' to wp-admin/includes/template.php in the Preview link statement.
I'm not sure about Wordpress coding standards, but I hope the way I added the 'preview' variable works. Otherwise please modify it to meet the coding standards.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch to fix preview link generation in wp-admin/includes/template.php