[wp-trac] [WordPress Trac] #28409: switch statements should be formatted consistently

WordPress Trac noreply at wordpress.org
Fri May 30 17:57:53 UTC 2014


#28409: switch statements should be formatted consistently
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.0
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28633"]:
 {{{
 #!CommitTicketReference repository="" revision="28633"
 Cleanup for `switch` statements:
 * Move `default` to the bottom in `WP_Theme_Install_List_Table`
 * `switch/endswitch` syntax is not supported in Hack. Switch to `switch
 (...) {  .... }` syntax. (A few template-type instances linger).

 Fixes #28409.
 See #27881.
 }}}

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


More information about the wp-trac mailing list