function wp_css_clean($buffer)
{
    global $wp_css;
    $buffer = wp_css_fix_urls($buffer);
    // $buffer = wp_css_fix_font_face($buffer);
    $files = wp_css_get_css_imports($buffer);
    $buffer = $files['buffer'];
    $buffer = str_replace(array("\r\n", "\r", "\n", "\t"), '', $buffer);
    $array['imports'] = $files['files'];
    $array['file'] = $wp_css['file'];
    if (wp_css_is_directory_writable('cache')) {
        wp_css_create_file(wp_css_filename($wp_css['file']), $buffer);
        wp_css_create_file(wp_css_filename($wp_css['file'], '.txt'), serialize($array));
    }
    return $buffer;
}
function wp_css_setting($array = null)
{
    if ($array) {
        wp_css_create_file('wp-css-settings.txt', wp_css_encode_string(serialize($array)), ABSPATH . PLUGINDIR . '/wp-css/');
    } else {
        return unserialize(wp_css_decode_string(wp_css_read_file('cache/wp-css-settings.txt')));
    }
}