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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user