Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #51986, comment 27


Ignore:
Timestamp:
08/24/2021 01:37:13 PM (3 years ago)
Author:
Hinjiriyo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51986, comment 27

    v3 v4  
    1818}}}
    1919
    20 The error appears even no plugin is active. I didn't check whether the current theme ("Gridd") is the source of the error.So I'm supposing a core bug.
     20The error appears even no plugin is active. I didn't check whether the current theme ("Gridd") is the source of the error.
    2121
    2222In the file **/wp-includes/rest-api/class-wp-rest-server.php** in line **1436** the variable **$opts** sometimes contains a string. Since it is used in **array_intersect_key()** which expects an array, an error is raised.