mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
[4432] missed "comment => c" conversion in edit_comment_link(). Props tinyau. fixes #3309
git-svn-id: https://develop.svn.wordpress.org/trunk@4436 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3567fff3db
commit
d2865e988f
@ -244,7 +244,7 @@ function edit_comment_link($link = 'Edit This', $before = '', $after = '') {
|
||||
return;
|
||||
}
|
||||
|
||||
$location = get_option('siteurl') . "/wp-admin/comment.php?action=editcomment&comment=$comment->comment_ID";
|
||||
$location = get_option('siteurl') . "/wp-admin/comment.php?action=editcomment&c=$comment->comment_ID";
|
||||
echo $before . "<a href='$location'>$link</a>" . $after;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user