From 2d1e8ada5ed404014c1da1a0246d753c7efbee45 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 21 Sep 2019 13:49:04 +0000 Subject: [PATCH] Coding Standards: Add missing `break` for the default case in `get_default_comment_status(()`. Props itowhid06. Fixes #48095. git-svn-id: https://develop.svn.wordpress.org/trunk@46227 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index 29b2c21218..df0416fef8 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -283,6 +283,7 @@ function get_default_comment_status( $post_type = 'post', $comment_type = 'comme default: $supports = 'comments'; $option = 'comment'; + break; } // Set the status.