[wp-trac] [WordPress Trac] #47443: REST-API prevents users with edit_published_posts capability updating published posts

WordPress Trac noreply at wordpress.org
Thu Dec 19 21:00:41 UTC 2019


#47443: REST-API prevents users with edit_published_posts capability updating
published posts
----------------------------------------+-----------------------
 Reporter:  derweili                    |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  5.4
Component:  REST API                    |     Version:  5.2.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  rest-api
----------------------------------------+-----------------------
Changes (by peterwilsoncc):

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


Comment:

 @derweili

 Hello and welcome to trac and thank you for the ticket.

 As this modifies permissions, I've added the `needs-unit-tests` keyword to
 the ticket; they'll be handy for both the pass and failure use case.

 If you've written unit tests in the past it would be great if you could
 help out but there are plenty of other contributors with experience
 writing tests so don't worry if you haven't got time or need some
 assistance to help out.

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


More information about the wp-trac mailing list