[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
Tue Sep 20 05:57:40 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 has-unit-tests  |     Focuses:  rest-api
-------------------------------------------+-----------------------

Comment (by chaion07):

 @slaFFik thank you for reporting this. We reviewed this ticket during a
 [https://wordpress.slack.com/archives/C02RQBWTW/p1663651954514939 recent
 bug-scrub session]. Based on the feedback received we feel the need for a
 review from a Component Maintainer or Committer on the patch as well as
 the unit test. Thanks!

 Props to @robinwpdeveloper

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


More information about the wp-trac mailing list