[wp-trac] [WordPress Trac] #27059: Add View Page button for private pages

WordPress Trac noreply at wordpress.org
Fri Feb 7 21:56:09 UTC 2014


#27059: Add View Page button for private pages
-----------------------------------------------+---------------------------
 Reporter:  mordauk                            |      Owner:
     Type:  enhancement                        |     Status:  new
 Priority:  normal                             |  Milestone:  Awaiting
Component:  Posts, Post Types                  |  Review
 Severity:  normal                             |    Version:  3.8.1
  Focuses:  ui, accessibility, administration  |   Keywords:
-----------------------------------------------+---------------------------
 A private page is simply one that users with the `read_private_pages` have
 permission to view. Any logged in user with that permission can view the
 page, which makes sense.

 When editing a private page, however, there is never a clear indication in
 the UI that you (a user with the `read_private_pages` capability) can view
 the page. The only options presented are `Preview Page` and `Update`.

 I've found myself on numerous occasions trying to figure out how to view a
 private page from the edit.php (perhaps after saving some changes), but
 there isn't one.

 The `View Page` button is only visible when the page is set to Published.

 The only option to view a private page is the `Preview` button, which has
 a few issues for this scenario:

 1. It implies that changes have been made, even if there haven't been any
 (Preview is shown even after saving a change)

 2. The `Preview` button uses a post preview URl with a nonce, which means
 the URL can become invalid. If I want to share the private page's URL with
 another user with the `read_private_pages` capability, this is kind of
 crappy.

 3. The normal permalink, such as site.com/?page_id=1148 works just fine,
 it's just never revealed.

 There is a `View Page` link presented in the update notification, but
 never anywhere when simply viewing the page editor. There is also one in
 the page action links from the list table, but not in the editor.

 I'd propose that we show the `View Page` button between the `Edit` and
 `Get Shortlink` buttons: http://screencloud.net/v/7Sun

 Note, this actually applies to all post types, but pages is the one I've
 always run into it with.

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


More information about the wp-trac mailing list