From 55feabee979f51c0ae59feeb07ce2d2e42bda6d2 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 30 Oct 2008 15:53:58 +0000 Subject: [PATCH] Escape attribute translation. Props nbachiyski. fixes #8010 git-svn-id: http://svn.automattic.com/wordpress/trunk@9415 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 7794e1932..fc86ea1ea 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -722,7 +722,7 @@ function edit_post_link( $link = 'Edit This', $before = '', $after = '' ) { return; } - $link = '' . $link . ''; + $link = '' . $link . ''; echo $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after; }