Changeset 34130 for trunk/src/wp-admin/comment.php
- Timestamp:
- 09/14/2015 09:46:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r34129 r34130 259 259 switch ( $action ) { 260 260 case 'deletecomment' : 261 wp_delete_comment( $comment _id);261 wp_delete_comment( $comment ); 262 262 $redir = add_query_arg( array('deleted' => '1'), $redir ); 263 263 break; 264 264 case 'trashcomment' : 265 wp_trash_comment( $comment_id);265 wp_trash_comment( $comment ); 266 266 $redir = add_query_arg( array('trashed' => '1', 'ids' => $comment_id), $redir ); 267 267 break; 268 268 case 'untrashcomment' : 269 wp_untrash_comment( $comment_id);269 wp_untrash_comment( $comment ); 270 270 $redir = add_query_arg( array('untrashed' => '1'), $redir ); 271 271 break; 272 272 case 'spamcomment' : 273 wp_spam_comment( $comment_id);273 wp_spam_comment( $comment ); 274 274 $redir = add_query_arg( array('spammed' => '1', 'ids' => $comment_id), $redir ); 275 275 break; 276 276 case 'unspamcomment' : 277 wp_unspam_comment( $comment_id);277 wp_unspam_comment( $comment ); 278 278 $redir = add_query_arg( array('unspammed' => '1'), $redir ); 279 279 break;
Note: See TracChangeset
for help on using the changeset viewer.