OAuth1 icon indicating copy to clipboard operation
OAuth1 copied to clipboard

Anticipation of the condition index of agglomeration

Open kassyn opened this issue 9 years ago • 1 comments

I found the bug when i needed in ?filter[meta_query][0][key]=my_key&[meta_query][0][value]=my_value. I moved only if the depth to prior verification of array.

The way it was before the filter parameter was lost.

kassyn avatar Mar 28 '16 15:03 kassyn

I added the hook for accept meta_query:

add_filter( 'rest_query_vars', 'rest_add_query_vars' );

function rest_add_query_vars( $args )  {
    $custom = array(
        'meta_query'
    );
    return array_merge( $args, $custom );
}

Without the change to the function join_with_equals_sign the signatures does not match, error below:

{"code":"json_oauth1_signature_mismatch","message":"OAuth signature does not match","data":{"status":401}}

kassyn avatar Mar 28 '16 15:03 kassyn