From 87208b9a482413e69fa09b2d7e4bbba7eb617925 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 5 Nov 2009 22:53:31 +0000 Subject: [PATCH] Remove ints from switch. see #11073 git-svn-id: http://svn.automattic.com/wordpress/trunk@12150 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);