Changeset 56549 for trunk/src/wp-admin/edit-comments.php
- Timestamp:
- 09/09/2023 09:26:01 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-comments.php
r55942 r56549 85 85 case 'approve': 86 86 wp_set_comment_status( $comment_id, 'approve' ); 87 $approved++;87 ++$approved; 88 88 break; 89 89 case 'unapprove': 90 90 wp_set_comment_status( $comment_id, 'hold' ); 91 $unapproved++;91 ++$unapproved; 92 92 break; 93 93 case 'spam': 94 94 wp_spam_comment( $comment_id ); 95 $spammed++;95 ++$spammed; 96 96 break; 97 97 case 'unspam': 98 98 wp_unspam_comment( $comment_id ); 99 $unspammed++;99 ++$unspammed; 100 100 break; 101 101 case 'trash': 102 102 wp_trash_comment( $comment_id ); 103 $trashed++;103 ++$trashed; 104 104 break; 105 105 case 'untrash': 106 106 wp_untrash_comment( $comment_id ); 107 $untrashed++;107 ++$untrashed; 108 108 break; 109 109 case 'delete': 110 110 wp_delete_comment( $comment_id ); 111 $deleted++;111 ++$deleted; 112 112 break; 113 113 }
Note: See TracChangeset
for help on using the changeset viewer.