[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
Thu Dec 10 09:13:55 UTC 2020


#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:  5.6.1
Component:  Editor                              |     Version:  5.6
 Severity:  normal                              |  Resolution:
 Keywords:  reporter-feedback needs-patch php8  |     Focuses:  rest-api
------------------------------------------------+-----------------------

Comment (by poena):

 I did a basic test of the patch by:
 Installing the Redux plugin and confirming that the PHP warning was
 reproduced.
 Applying the patch and confirming that the new doing it wrong message is
 displayed.

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


More information about the wp-trac mailing list