Changeset 34129 for trunk/src/wp-admin/comment.php
- Timestamp:
- 09/14/2015 09:39:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r34042 r34129 279 279 break; 280 280 case 'approvecomment' : 281 wp_set_comment_status( $comment _id, 'approve' );281 wp_set_comment_status( $comment, 'approve' ); 282 282 $redir = add_query_arg( array( 'approved' => 1 ), $redir ); 283 283 break; 284 284 case 'unapprovecomment' : 285 wp_set_comment_status( $comment _id, 'hold' );285 wp_set_comment_status( $comment, 'hold' ); 286 286 $redir = add_query_arg( array( 'unapproved' => 1 ), $redir ); 287 287 break;
Note: See TracChangeset
for help on using the changeset viewer.