Ticket #22024: 22024.diff
| File 22024.diff, 363 bytes (added by ryan, 8 months ago) |
|---|
| Line | |
|---|---|
| 1 | Index: wp-includes/comment.php |
| 2 | =================================================================== |
| 3 | --- wp-includes/comment.php (revision 22074) |
| 4 | +++ wp-includes/comment.php (working copy) |
| 5 | @@ -1293,6 +1293,8 @@ |
| 6 | $comment = get_comment($id); |
| 7 | do_action('wp_insert_comment', $id, $comment); |
| 8 | |
| 9 | + wp_cache_set('last_changed', time(), 'comment'); |
| 10 | + |
| 11 | return $id; |
| 12 | } |
| 13 |
