mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user