From 6c86018563325054cae260594dc474cfb047bcd7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 5 Nov 2009 22:53:31 +0000 Subject: [PATCH] Remove ints from switch. see #11073 git-svn-id: https://develop.svn.wordpress.org/trunk@12150 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 805d2fbae9..e596e78bf1 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1181,12 +1181,10 @@ function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) switch ( $comment_status ) { case 'hold': case '0': - case 0: $status = '0'; break; case 'approve': case '1': - case 1: $status = '1'; if ( get_option('comments_notify') ) { $comment = get_comment($comment_id);