fix: undefined variable filter_type_component #576
This commit is contained in:
parent
da41a8f950
commit
1530dac27b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue