fix: undefined variable filter_type_component #576

This commit is contained in:
vnmedeiros 2021-11-10 14:26:03 -03:00
parent da41a8f950
commit 1530dac27b
1 changed files with 1 additions and 0 deletions

View File

@ -457,6 +457,7 @@ class REST_Items_Controller extends REST_Controller {
}
foreach($meta_query as $meta) {
$filter_type_component = false;
if( !isset($meta['key']) || !isset($meta['value']) )
continue;