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

WordPress Trac noreply at wordpress.org
Wed Feb 22 15:11:48 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):

 We don't have any specific `cap` for previewing a post. If we enable
 `edit_post` then `contributor` may edit the approved post and it may
 published on scheduled time before reviewed it again.

 So the possible solution would be, we can add additional condition while
 showing the `preview` link and post preview `cap` change.

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


More information about the wp-trac mailing list