function icl_wpmuadminedit()
{
    switch ($_REQUEST['action']) {
        case 'resetwpml':
            icl_reset_wpml();
            break;
        case 'deactivatewpml':
            icl_network_deactivate_wpml();
            break;
        case 'activatewpml':
            icl_network_activate_wpml();
            break;
    }
}
function icl_wpmuadminedit()
{
    if (!isset($_REQUEST['action'])) {
        return;
    }
    $filtered_action = filter_input(INPUT_POST, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_NULL_ON_FAILURE);
    $filtered_action = $filtered_action ? $filtered_action : filter_input(INPUT_GET, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_NULL_ON_FAILURE);
    switch ($filtered_action) {
        case 'resetwpml':
            icl_network_reset_wpml();
            break;
        case 'deactivatewpml':
            icl_network_deactivate_wpml();
            break;
        case 'activatewpml':
            icl_network_activate_wpml();
            break;
    }
}
function icl_wpmuadminedit()
{
    if (!isset($_REQUEST['action'])) {
        return;
    }
    $filtered_action = filter_input(INPUT_POST, 'action');
    $filtered_action = $filtered_action ? $filtered_action : filter_input(INPUT_GET, 'action');
    switch ($filtered_action) {
        case 'resetwpml':
            icl_reset_wpml();
            break;
        case 'deactivatewpml':
            icl_network_deactivate_wpml();
            break;
        case 'activatewpml':
            icl_network_activate_wpml();
            break;
    }
}