PostTypes
PostTypes copied to clipboard
empty array if taxonomy query var is null
ERROR:
PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array,
null given in .../vendor/jjgrainger/posttypes/src/Taxonomy.php:361
FIX:
return empty array if $query->query_vars['taxonomy']
is null.
Closes: closes https://github.com/jjgrainger/PostTypes/issues/86, closes https://github.com/jjgrainger/PostTypes/issues/85, closes https://github.com/jjgrainger/PostTypes/issues/76
Hey @jjgrainger , can we get this merged? If any columns are added to custom taxonomy we are unable to save new terms. Thanks.
Can we please get this merged @jjgrainger ?