From a7ad622e4c076bebb994355f983d5d18cb25af48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A4nk=20Klein?= Date: Tue, 5 May 2015 11:53:29 +0200 Subject: [PATCH] Don't use `esc_html__()` on translation containing HTML. Use `wp_kses()` instead, whitelisting the only HTML the string can contain. --- template-parts/content-none.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template-parts/content-none.php b/template-parts/content-none.php index 27dec13..aa2473f 100644 --- a/template-parts/content-none.php +++ b/template-parts/content-none.php @@ -16,7 +16,7 @@
-

Get started here.', '_s' ), esc_url( admin_url( 'post-new.php' ) ) ); ?>

+

Get started here.', '_s' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?>

@@ -30,4 +30,4 @@
- + \ No newline at end of file