[wp-trac] [WordPress Trac] #48095: Added missing `break` in `default` case in `get_default_comment_status` function

WordPress Trac noreply at wordpress.org
Sat Sep 21 13:49:14 UTC 2019


#48095: Added missing `break` in `default` case in `get_default_comment_status`
function
--------------------------+-------------------------------
 Reporter:  itowhid06     |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.3
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46227" 46227]:
 {{{
 #!CommitTicketReference repository="" revision="46227"
 Coding Standards: Add missing `break` for the default case in
 `get_default_comment_status(()`.

 Props itowhid06.
 Fixes #48095.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48095#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list