[wp-trac] [WordPress Trac] #42238: Notice when Rest Comments controler is checking permision for a non existent post type

WordPress Trac noreply at wordpress.org
Fri Jan 3 18:42:21 UTC 2020


#42238: Notice when Rest Comments controler is checking permision for a non
existent post type
-------------------------------------------------+-------------------------
 Reporter:  dragosh635                           |       Owner:  kadamwhite
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by kadamwhite):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47036" 47036]:
 {{{
 #!CommitTicketReference repository="" revision="47036"
 REST API: Short-circuit comment controller permissions check if commented-
 upon post type does not exist.

 Props imani3011, dragosh635, subrataemfluence, timothyblynjacobs.
 Fixes #42238.
 }}}

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


More information about the wp-trac mailing list