Skip to content

Commit 36fdad4

Browse files
committed
Used wp_kses_post() Instead of esc_html()
1 parent 105c7aa commit 36fdad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/link-template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4820,7 +4820,7 @@ function get_the_privacy_policy_link( $before = '', $after = '' ) {
48204820
$link = sprintf(
48214821
'<a class="privacy-policy-link" href="%s" rel="privacy-policy">%s</a>',
48224822
esc_url( $privacy_policy_url ),
4823-
esc_html( $page_title )
4823+
wp_kses_post( $page_title )
48244824
);
48254825
}
48264826

0 commit comments

Comments
 (0)