WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/30/2014 05:57:51 PM (7 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r28260 r28633  
    303303            $queries = $ms_global_tables;
    304304            break;
     305        case 'all' :
    305306        default:
    306         case 'all' :
    307307            $queries = $global_tables . $blog_tables;
    308308            if ( $is_multisite )
Note: See TracChangeset for help on using the changeset viewer.