Skip to content

Commit 2fe6e14

Browse files
committed
fix: html tags not working inside dynamic link
1 parent 11aa663 commit 2fe6e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/plugins/class-dynamic-content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ public function apply_link( $data ) {
629629
'<a href="%s" %s>%s</a>',
630630
esc_url( $link ),
631631
$attrs,
632-
esc_html( $data['text'] )
632+
wp_kses_post( $data['text'] )
633633
);
634634

635635
return $value;

0 commit comments

Comments
 (0)