[wp-trac] [WordPress Trac] #39939: A Contributor cannot preview their own post if it's scheduled

WordPress Trac noreply at wordpress.org
Thu Feb 23 05:36:27 UTC 2017


#39939: A Contributor cannot preview their own post if it's scheduled
------------------------------------------+------------------------------
 Reporter:  johnbillion                   |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Posts, Post Types             |     Version:
 Severity:  minor                         |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  administration
------------------------------------------+------------------------------

Comment (by dhanendran):

 Instead of creating a new `cap` and patching it in several places, can we
 create a common hook which can alter the `cap` permissions. In this case,
 we can use a filter to remove `Edit` and `Quick Edit` from `edit_post`
 capability. So user use only `preview` option.

 Just a thought...

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39939#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list