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:
parent
8b4985a835
commit
567f076791
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue