<?php
submit_button( __( 'No, return me to the plugin list'
), '', 'submit', false
); ?>
</form>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';
exit;
} else { $plugins_to_delete =
count( $plugins );
} // End if verify-delete.
$delete_result =
delete_plugins( $plugins );
// Store the result in a cache rather than a URL param due to object type & length.
set_transient( 'plugins_delete_result_' .
$user_ID,
$delete_result );
wp_redirect( self_admin_url( "plugins.php?deleted=
$plugins_to_delete&plugin_status=
$status&paged=
$page&s=
$s"
) );
exit;
case 'clear-recent-list':
if ( !
is_network_admin() ) { update_option( 'recently_activated', array
() );
} else { update_site_option( 'recently_activated', array
() );
}