escaping ampersand in url, task # 42

git-svn-id: http://svn.automattic.com/wordpress/trunk@733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
alex_t_king 2004-01-07 02:22:00 +00:00
parent 8b4985a835
commit 567f076791
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";
}