escaping ampersand in url, task # 42

git-svn-id: https://develop.svn.wordpress.org/trunk@733 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Alex King 2004-01-07 02:22:00 +00:00
parent f38a4a72d9
commit 6a6260666f
1 changed files with 1 additions and 1 deletions

View File

@ -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 <a href='$location'>$link</a> $after";
}