[wp-trac] [WordPress Trac] #27881: Compatibility with Hack

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


#27881: Compatibility with Hack
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 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/27881#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list