Jetpack_Signature::normalized_query_parameters PHP Method

normalized_query_parameters() public method

public normalized_query_parameters ( $query_string )
    function normalized_query_parameters($query_string)
    {
        parse_str($query_string, $array);
        if (get_magic_quotes_gpc()) {
            $array = stripslashes_deep($array);
        }
        unset($array['signature']);
        $names = array_keys($array);
        $values = array_values($array);
        $names = array_map(array($this, 'encode_3986'), $names);
        $values = array_map(array($this, 'encode_3986'), $values);
        $pairs = array_map(array($this, 'join_with_equal_sign'), $names, $values);
        sort($pairs);
        return $pairs;
    }