[wp-trac] [WordPress Trac] #11688: Wrong preview link for draft/preview on admin post index
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 2 03:12:37 UTC 2010
#11688: Wrong preview link for draft/preview on admin post index
----------------------------+-----------------------------------------------
Reporter: MMN-o | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Unassigned
Component: Administration | Version:
Severity: trivial | Keywords: preview,link,admin
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11688>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list