Home › Forums › MapPress Support › mashups with post__in no longer working after upgrade › Reply To: mashups with post__in no longer working after upgrade
January 22, 2013 at 5:03 am
#11429
Hi,
The code was to echo the shortcode string, I wanted to see what was being passed to the plugin.
I was able to check using the sample page and I found the problem: for query argument “post_type=any”, the plugin is sending an array. WP_Query requires an array for multiple post types, but for “any” it requires a string.
This is fixed in 2.39.8, which should be out later today.
Until then, you can get it working by specifying a post type (“post_type=post”) or just removing the “post_type=any” clause from the query.
Thanks for letting me know about the problem!