Ticket #16143: 16143.patch
File 16143.patch, 982 bytes (added by , 15 years ago) |
---|
-
wp-admin/includes/plugin.php
646 646 * @return mixed 647 647 */ 648 648 function delete_plugins($plugins, $redirect = '' ) { 649 global $wp_filesystem ;649 global $wp_filesystem, $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $is_iphone, $user_identity, $current_site; 650 650 651 651 if ( empty($plugins) ) 652 652 return false; -
wp-admin/includes/theme.php
46 46 * @return mixed 47 47 */ 48 48 function delete_theme($template) { 49 global $wp_filesystem ;49 global $wp_filesystem, $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $is_iphone, $user_identity, $current_site; 50 50 51 51 if ( empty($template) ) 52 52 return false;