Changeset 7690
- Timestamp:
- 04/15/08 18:05:08 (5 months ago)
- Files:
-
- trunk/wp-includes/comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/comment.php
r7657 r7690 571 571 function wp_insert_comment($commentdata) { 572 572 global $wpdb; 573 extract( $commentdata, EXTR_SKIP);573 extract(stripslashes_deep($commentdata), EXTR_SKIP); 574 574 575 575 if ( ! isset($comment_author_IP) ) … … 768 768 769 769 // Now extract the merged array. 770 extract( $commentarr, EXTR_SKIP);770 extract(stripslashes_deep($commentarr), EXTR_SKIP); 771 771 772 772 $comment_content = apply_filters('comment_save_pre', $comment_content);
