In `wp_set_comment_status()`, the `default` case returns, so no default value for `$status` is needed.

See #27882.


Built from https://develop.svn.wordpress.org/trunk@28324


git-svn-id: http://core.svn.wordpress.org/trunk@28152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-06 21:17:15 +00:00
parent de262f553c
commit 7eeafa3537
1 changed files with 0 additions and 1 deletions

View File

@ -1734,7 +1734,6 @@ function wp_new_comment( $commentdata ) {
function wp_set_comment_status($comment_id, $comment_status, $wp_error = false) {
global $wpdb;
$status = '0';
switch ( $comment_status ) {
case 'hold':
case '0':