the error in taxonomy.php on line 361 causes another issue with the HappyFiles plugin (https://happyfiles.io) - I'm unable to create a new folder using HappyFiles in PHP 8 - it work with PHP 7
I tried to fix it like this - HappyFiles works now but I don't know yet whether this causes another issue
// don't modify the query if we're not in the post type admin if (!is_admin() || !in_array($this->name, (array) $query->query_vars['taxonomy'])) { return; }
the error in taxonomy.php on line 361 causes another issue with the HappyFiles plugin (https://happyfiles.io) - I'm unable to create a new folder using HappyFiles in PHP 8 - it work with PHP 7
I tried to fix it like this - HappyFiles works now but I don't know yet whether this causes another issue
// don't modify the query if we're not in the post type admin if (!is_admin() || !in_array($this->name, (array) $query->query_vars['taxonomy'])) { return; }