mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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
Block a user