From 6a6260666fb936699d090862c804210bf8893548 Mon Sep 17 00:00:00 2001 From: Alex King Date: Wed, 7 Jan 2004 02:22:00 +0000 Subject: [PATCH] escaping ampersand in url, task # 42 git-svn-id: https://develop.svn.wordpress.org/trunk@733 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions.php b/wp-includes/template-functions.php index 97625e9e2d..63eca98ae0 100644 --- a/wp-includes/template-functions.php +++ b/wp-includes/template-functions.php @@ -563,7 +563,7 @@ function edit_post_link($link = 'Edit This', $before = '', $after = '') { return; } - $location = "$siteurl/wp-admin/post.php?action=edit&post=$post->ID"; + $location = "$siteurl/wp-admin/post.php?action=edit&post=$post->ID"; echo "$before $link $after"; }