Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

It changes WordPress queries which results in odd errors.

$
0
0

Replies: 0

This plugin seriously changes WordPress queries which will result in hard to debug errors.

For example if you try

$args = array(
	'post_type' => 'attachment',
	'post_status'=>'any',
	'meta_query' =>array(array(
		'key' => akeyhere,
		'value' => avaluehere,
		'compare' => '=',
	))
);
var_dump( new WP_Query($args) )

you will see with and without the plugin enabled there are very different queries and different results. It apparently is adding

 [1]=>
      array(2) {
        ["key"]=>
        string(9) "_frm_file"
        ["compare"]=>
        string(10) "NOT EXISTS"
      }
      ["relation"]=>
      string(3) "AND"

to the query without permission, causing completely different results and hours of debugging fun!


Viewing all articles
Browse latest Browse all 59525

Trending Articles