{"comment":{"url":"https://api.github.com/repos/bootsz/wp-advanced-search/comments/12826840","html_url":"https://github.com/bootsz/wp-advanced-search/commit/b44c8de4e3a58f2d4a7f6babb03d52b889811f9f#commitcomment-12826840","id":12826840,"user":{"login":"d3s1gnw","id":11291884,"avatar_url":"https://avatars.githubusercontent.com/u/11291884?v=3","gravatar_id":"","url":"https://api.github.com/users/d3s1gnw","html_url":"https://github.com/d3s1gnw","followers_url":"https://api.github.com/users/d3s1gnw/followers","following_url":"https://api.github.com/users/d3s1gnw/following{/other_user}","gists_url":"https://api.github.com/users/d3s1gnw/gists{/gist_id}","starred_url":"https://api.github.com/users/d3s1gnw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3s1gnw/subscriptions","organizations_url":"https://api.github.com/users/d3s1gnw/orgs","repos_url":"https://api.github.com/users/d3s1gnw/repos","events_url":"https://api.github.com/users/d3s1gnw/events{/privacy}","received_events_url":"https://api.github.com/users/d3s1gnw/received_events","type":"User","site_admin":false},"position":6,"line":23,"path":"src/Enum/RequestVar.php","commit_id":"b44c8de4e3a58f2d4a7f6babb03d52b889811f9f","created_at":"2015-08-21T11:36:11Z","updated_at":"2015-08-21T11:36:11Z","body":"This one gives complication with having the same key on multiple values on a meta_query:\r\n\r\nFor example:\r\n``\r\n\t$args['wp_query'] = array(\r\n\t\t'post_type' => 'POST_TYPE',\r\n\t\t'posts_per_page' => 12,\r\n\t\t'type' => 'THE_TYPE',\r\n\t\t'meta_query' => \tarray( \t\r\n\t\t\t\t\t\t\t\t'relation' => 'AND',\r\n\t\t\t\t\t\t\t\tarray( 'key' => 'SINGLEKEY', 'value' => 'VALUE01', 'compare' => '!='), \r\n\t\t\t\t\t\t\t\tarray( 'key' => 'SINGLEKEY', 'value' => 'VALUE02', 'compare' => '!='), \r\n\t\t\t\t\t\t\t)\r\n\t);\r\n``\r\nWith use of this row, the second key (VALUE02) is used on all array's.\r\nWithout use of this row they load seperated values."}}