Ticket #13091: 13091-opt2.patch
| File 13091-opt2.patch, 575 bytes (added by solarissmoke, 3 years ago) |
|---|
-
comment.php
1348 1348 do_action('wp_set_comment_status', $comment_id, $comment_status); 1349 1349 wp_transition_comment_status($comment_status, $comment_old->comment_approved, $comment); 1350 1350 1351 wp_update_comment_count($comment->comment_post_ID); 1351 if($status == '1' || $comment_old->comment_approved == 1) // then a comment has changed to/from approved 1352 wp_update_comment_count($comment->comment_post_ID); 1352 1353 1353 1354 return true; 1354 1355 }
