[wp-trac] [WordPress Trac] #51986: PHP Warning: array_intersect_key(): Expected parameter 1 to be an array, string given in class-wp-rest-server.php

WordPress Trac noreply at wordpress.org
Sun Jul 10 18:33:58 UTC 2022


#51986: PHP Warning: array_intersect_key(): Expected parameter 1 to be an array,
string given in class-wp-rest-server.php
---------------------------------------------+-----------------------
 Reporter:  slaFFik                          |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  6.1
Component:  Editor                           |     Version:  5.6
 Severity:  normal                           |  Resolution:
 Keywords:  php8 has-patch needs-unit-tests  |     Focuses:  rest-api
---------------------------------------------+-----------------------
Changes (by nateallen):

 * Attachment "51986.test.diff" added.

 Unit test confirming fix for bug

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51986>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list