[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
Mon Nov 25 06:00:52 UTC 2019


#42238: Notice when Rest Comments controler is checking permision for a non
existent post type
-------------------------------------------------+-------------------------
 Reporter:  dragosh635                           |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests good-first-bug      |     Focuses:
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by imani3011):

 @TimothyBlynJacobs Thank you for guiding me the more appropriate way. I
 have made the changes and created a new patch
 https://core.trac.wordpress.org/attachment/ticket/42238/42238-updated.patch

 When you have time can you please verify whether the same works for you as
 well?

 Yes, I am interested in writing a unit test to test this fix. Will provide
 it soon.

 Thanks again!

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


More information about the wp-trac mailing list