mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
comment_id_fields(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -936,8 +936,11 @@ function cancel_comment_reply_link($text = '') {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*/
|
||||
function comment_parent_field() {
|
||||
function comment_id_fields() {
|
||||
global $id;
|
||||
|
||||
$replytoid = isset($_GET['replytocom']) ? (int) $_GET['replytocom'] : 0;
|
||||
echo "<input type='hidden' name='comment_post_ID' value='$id' />\n";
|
||||
echo "<input type='hidden' name='comment_parent' id='comment_parent' value='$replytoid' />\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user