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:
parent
f38a4a72d9
commit
6a6260666f
@ -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
Block a user