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

WordPress Trac noreply at wordpress.org
Fri Apr 7 10:19:53 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:                |     Focuses:
--------------------------+------------------------------

Comment (by langan):

 No problem @swissspidy

 I think we will need to add a class_exist check on the class, but the
 quick hack I added above worked for me when I created a custom post type
 and made some comments.

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


More information about the wp-trac mailing list