[wp-trac] [WordPress Trac] #28350: "View Post" buttons for drafts not consistent

WordPress Trac noreply at wordpress.org
Sun May 25 03:36:58 UTC 2014


#28350: "View Post" buttons for drafts not consistent
--------------------------------+-----------------------------
 Reporter:  mordauk             |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Editor              |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 When a post is saved as a draft, the main publish box shows a "Preview"
 button. The URL for the preview button is
 `http://site.com/?p=149&preview=true`.

 Next to the post's permalink, however, is a "View" button. The URL for
 this button is `http://site.com/?p=149` and is missing the `&preview=true`
 parameter.

 Also in the toolbar is a "View" button that's identical to the "View"
 button next to the permalink. It also has a URL of
 `http://site.com/?p=149`.

 Since the post is a draft, it seems logical that all of the buttons should
 all be "Preview" or "Preview Post" and should all have the `&preview=true`
 parameter.

 Having the buttons next to the permalink and the toolbar show "View Post"
 is just confusing when the post is a draft. I've caught myself several
 times thinking "oh, did I publish this by accident?" when seeing the "View
 Post" buttons.

 https://cloudup.com/cuavhdeBxl1

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28350>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list