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.


Built from https://develop.svn.wordpress.org/trunk@28633


git-svn-id: http://core.svn.wordpress.org/trunk@28452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-05-30 17:58:15 +00:00
parent 1868c1fc4b
commit af860fbe84
6 changed files with 40 additions and 40 deletions

View File

@@ -302,8 +302,8 @@ CREATE TABLE $wpdb->signups (
case 'ms_global' :
$queries = $ms_global_tables;
break;
default:
case 'all' :
default:
$queries = $global_tables . $blog_tables;
if ( $is_multisite )
$queries .= $ms_global_tables;