From 31fca440bd6c10993551fba7fb5bbd6affc3933d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 21 Sep 2019 13:50:58 +0000 Subject: [PATCH] Coding Standards: Add missing `break` for the default case in `get_default_comment_status(()`. Props itowhid06. Fixes #48095. Built from https://develop.svn.wordpress.org/trunk@46227 git-svn-id: http://core.svn.wordpress.org/trunk@46039 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 29b2c21218..df0416fef8 100644 --- a/wp-includes/comment.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 38c69f7f79..5d0fe56281 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46226'; +$wp_version = '5.3-alpha-46227'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.