Changeset 47219 for trunk/src/wp-admin/comment.php
- Timestamp:
- 02/09/2020 04:52:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r47198 r47219 102 102 103 103 // No need to re-approve/re-trash/re-spam a comment. 104 if ( $action == str_replace( '1', 'approve', $comment->comment_approved )) {104 if ( str_replace( '1', 'approve', $comment->comment_approved ) == $action ) { 105 105 wp_redirect( admin_url( 'edit-comments.php?same=' . $comment_id ) ); 106 106 die(); … … 138 138 } 139 139 140 if ( $comment->comment_approved != '0') { // If not unapproved.140 if ( '0' != $comment->comment_approved ) { // If not unapproved. 141 141 $message = ''; 142 142 switch ( $comment->comment_approved ) {
Note: See TracChangeset
for help on using the changeset viewer.