From 127db4a14fe99d54fc40c01ba034702d7ee3a489 Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Wed, 17 Aug 2022 09:42:30 -0300 Subject: [PATCH] fix: escape html values when inside relationship metadata #721 --- .../metadata-types/compound/class-tainacan-compound.php | 2 +- .../metadata-types/relationship/class-tainacan-relationship.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php b/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php index fba9b7e45..da50fd01c 100644 --- a/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php +++ b/src/views/admin/components/metadata-types/compound/class-tainacan-compound.php @@ -235,7 +235,7 @@ class Compound extends Metadata_Type { ?>

- get_metadatum()->get_name()); ?> + get_metadatum()->get_name()); ?>

get_value_as_html()); ?> diff --git a/src/views/admin/components/metadata-types/relationship/class-tainacan-relationship.php b/src/views/admin/components/metadata-types/relationship/class-tainacan-relationship.php index 1e5121e4d..ba088ff6a 100644 --- a/src/views/admin/components/metadata-types/relationship/class-tainacan-relationship.php +++ b/src/views/admin/components/metadata-types/relationship/class-tainacan-relationship.php @@ -337,7 +337,7 @@ class Relationship extends Metadata_Type { get_metadatum()->get_name()); ?>

- get_value_as_html() : $value_link)); ?> + get_value_as_html() : $value_link)); ?>