diff --git src/wp-includes/comment.php src/wp-includes/comment.php
index d00eb77..cef4884 100644
|
|
function wp_update_comment($commentarr) { |
2023 | 2023 | $data = wp_array_slice_assoc( $data, $keys ); |
2024 | 2024 | $rval = $wpdb->update( $wpdb->comments, $data, compact( 'comment_ID' ) ); |
2025 | 2025 | |
| 2026 | // Add Last Modified Data to Comment Meta |
| 2027 | update_comment_meta( $comment_id, 'comment_modified', current_time( 'mysql' ) ); |
| 2028 | update_comment_meta( $comment_id, 'comment_modified_gmt', current_time( 'mysql', 1 ) ); |
| 2029 | |
2026 | 2030 | clean_comment_cache( $comment_ID ); |
2027 | 2031 | wp_update_comment_count( $comment_post_ID ); |
2028 | 2032 | /** |