From e43d2a73d8db91cdd052c0915caa19cb90e5052a Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 19 May 2014 05:03:44 +0000 Subject: [PATCH] Fix some `hackificator` odds and ends in `wp-admin`: * `wp-activate.php` and `wp-admin/themes.php` don't need the closing PHP tag * Switch single quotes for HTML attribute values to double in a few places * Convert `include_once file.php` syntax to `include_once( 'file.php' )` * Add access modifiers to methods/members in: `_WP_List_Table_Compat`, `Walker_Nav_Menu_Edit`, `Walker_Nav_Menu_Checklist`, `WP_Screen`, `Walker_Category_Checklist` * `edit_user()` doesn't need to import the `$wpdb` global * `wp_list_widgets()` doesn't need to import the `$sidebars_widgets` global * switch/endswitch syntax is not supported in Hack * A `