OAuth1
OAuth1 copied to clipboard
Anticipation of the condition index of agglomeration
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.
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}}