Fix ID in confirmdeletecomment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d4cdb47503
commit
5edea3a5cd
|
@ -180,7 +180,7 @@ case 'confirmdeletecomment':
|
|||
echo "<form action='".get_settings('siteurl')."/wp-admin/post.php' method='get'>\n";
|
||||
echo "<input type=\"hidden\" name=\"action\" value=\"deletecomment\" />\n";
|
||||
echo "<input type=\"hidden\" name=\"p\" value=\"$p\" />\n";
|
||||
echo "<input type=\"hidden\" name=\"comment\" value=\"$comment\" />\n";
|
||||
echo "<input type=\"hidden\" name=\"comment\" value=\"{$comment->comment_ID}\" />\n";
|
||||
echo "<input type=\"hidden\" name=\"noredir\" value=\"1\" />\n";
|
||||
echo "<input type=\"submit\" value=\"" . __('Yes') . "\" />";
|
||||
echo " ";
|
||||
|
|
Loading…
Reference in New Issue