[4432] missed "comment => c" conversion in edit_comment_link(). Props tinyau. fixes #3309
git-svn-id: http://svn.automattic.com/wordpress/trunk@4436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9b0c765df6
commit
21586ee6b6
|
@ -244,7 +244,7 @@ function edit_comment_link($link = 'Edit This', $before = '', $after = '') {
|
||||||
return;
|
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;
|
echo $before . "<a href='$location'>$link</a>" . $after;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue