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:
Ryan Boren
2009-03-06 05:06:15 +00:00
parent 1fb1534e8f
commit a5d73d7a2f
4 changed files with 12 additions and 32 deletions

View File

@@ -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 );