芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy.com/wp-content/plugins/wp-maintenance-mode/uninstall.php
query("DROP TABLE IF EXISTS {$GLOBALS['wpdb']->prefix}wpmm_subscribers"); // delete options delete_option('wpmm_settings'); delete_option('wpmm_notice'); delete_option('wpmm_version'); } // Let's do it! if (is_multisite()) { single_uninstall(); // delete data foreach blog $blogs_list = $GLOBALS['wpdb']->get_results("SELECT blog_id FROM {$GLOBALS['wpdb']->blogs}", ARRAY_A); if (!empty($blogs_list)) { foreach ($blogs_list as $blog) { switch_to_blog($blog['blog_id']); single_uninstall(); restore_current_blog(); } } } else { single_uninstall(); }