mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Use wpdb::insert() and update(). see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10731 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -216,7 +216,7 @@ case 'approvecomment' :
|
||||
case 'editedcomment' :
|
||||
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_id'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user