From 1a2f683645373ecc2e25060eaca3e1a6e0649c05 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Mon, 3 Jul 2023 14:19:42 +0300 Subject: [PATCH] - wpcs; --- includes/core/class-fields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/class-fields.php b/includes/core/class-fields.php index 76ed4f6d..667f6be6 100644 --- a/includes/core/class-fields.php +++ b/includes/core/class-fields.php @@ -4843,7 +4843,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) { $fields_without_metakey = UM()->builtin()->get_fields_without_metakey(); - if ( in_array( $data['type'], $fields_without_metakey ) ) { + if ( in_array( $data['type'], $fields_without_metakey, true ) ) { unset( $field_atts['id'] ); if ( empty( $field_atts['data-key'] ) ) {