From d1734cffca2da4810614400efb7ba8ac847d0f82 Mon Sep 17 00:00:00 2001 From: Anh Tran Date: Mon, 14 Oct 2024 16:46:59 +0700 Subject: [PATCH] Continue fix PCP --- readme.txt | 2 +- src/GroupField.php | 2 +- src/Templates/display_field-taxonomy.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index 896087a..2148ece 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === Meta Box - Elementor Integrator === Contributors: elightup, metabox, rilwis Donate link: https://metabox.io/pricing/ -Tags: meta box, custom meta box, meta boxes, custom meta boxes, custom fields, custom field, elementor, dynamic tags +Tags: meta box, custom fields, elementor, dynamic tags Requires at least: 5.9 Requires PHP: 7.0 Tested up to: 6.6.2 diff --git a/src/GroupField.php b/src/GroupField.php index c8de3c3..e6bb504 100644 --- a/src/GroupField.php +++ b/src/GroupField.php @@ -28,7 +28,7 @@ public function get_skin_template() { 'post_type' => 'elementor_library', 'numberposts' => -1, 'post_status' => 'publish', - 'tax_query' => [ + 'tax_query' => [ // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_tax_query [ 'taxonomy' => 'elementor_library_type', 'field' => 'slug', diff --git a/src/Templates/display_field-taxonomy.php b/src/Templates/display_field-taxonomy.php index 32f70c9..82aa423 100644 --- a/src/Templates/display_field-taxonomy.php +++ b/src/Templates/display_field-taxonomy.php @@ -1,3 +1,3 @@ name; +echo esc_html( $term->name );