[wp-trac] [WordPress Trac] #40383: Comments Controller is not checking permission of Custom Post Type controller class

WordPress Trac noreply at wordpress.org
Mon Apr 24 05:18:47 UTC 2017


#40383: Comments Controller is not checking permission of Custom Post Type
controller class
----------------------------------------+------------------------------
 Reporter:  langan                      |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  REST API                    |     Version:  4.7.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------
Changes (by joehoyle):

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


Comment:

 Added a patch to support the custom controller on comments and revisions
 endpoint. This needs unit test which I am working on, however setting up
 the custom controller via unit test is a little laborious so not quite
 there yet.

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


More information about the wp-trac mailing list