Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anticipation of the condition index of agglomeration #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kassyn
Copy link

@kassyn kassyn commented Mar 28, 2016

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
Copy link
Author

kassyn commented Mar 28, 2016

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}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant