[wp-trac] [WordPress Trac] #41448: Contributors shouldn't be able to change the date of their drafts

WordPress Trac noreply at wordpress.org
Fri Aug 4 13:24:12 UTC 2017


#41448: Contributors shouldn't be able to change the date of their drafts
-------------------------------------+-------------------------------------
 Reporter:  davilera                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  low                      |   Milestone:  Future Release
Component:  Posts, Post Types        |     Version:  2.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-unit-    |     Focuses:  administration, rest-
  tests                              |  api
-------------------------------------+-------------------------------------
Changes (by davilera):

 * keywords:  needs-patch => has-patch needs-unit-tests


Comment:

 [attachment:41448.diff] checks whether the current user can publish posts
 (of the current post type). If they can't (that is, if they're a
 ''Contributor''), the fields for changing a post's date are not included
 in ''Quick Edit''.

 @johnbillion, I didn't check the REST API. Should we address the
 (possible) issue with the REST API here, or should we open a separate
 ticket?

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


More information about the wp-trac mailing list