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
This commit is contained in:
Sergey Biryukov 2019-09-21 13:50:58 +00:00
parent 364355abc3
commit 31fca440bd
2 changed files with 2 additions and 1 deletions

View File

@ -283,6 +283,7 @@ function get_default_comment_status( $post_type = 'post', $comment_type = 'comme
default: default:
$supports = 'comments'; $supports = 'comments';
$option = 'comment'; $option = 'comment';
break;
} }
// Set the status. // Set the status.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.