[wp-trac] [WordPress Trac] #40741: REST Comments Controller: Don't use count() if $request['post'] isn't an array

WordPress Trac noreply at wordpress.org
Tue Mar 13 15:47:28 UTC 2018


#40741: REST Comments Controller: Don't use count() if $request['post'] isn't an
array
--------------------------+-----------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:
Component:  Comments      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-----------------------
Changes (by birgire):

 * milestone:  Awaiting Review =>


Comment:

 This seems to be fixed in [41735] for the ticket #41457

 Should this one be closed as a duplicate, even though it's an older one?

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


More information about the wp-trac mailing list