From 13382740b95b370b046f20c0561f95d250b16601 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 14 Sep 2015 13:00:31 +0000 Subject: [PATCH] Escape class attribute in `edit_post_link()` after [34098]. Props Offereins. See #30563. git-svn-id: https://develop.svn.wordpress.org/trunk@34117 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 527c0ee754..8bed879cf4 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1226,7 +1226,7 @@ function edit_post_link( $text = null, $before = '', $after = '', $id = 0, $clas $text = __( 'Edit This' ); } - $link = '' . $text . ''; + $link = '' . $text . ''; /** * Filter the post edit link anchor tag.