{"action":"opened","issue":{"number":32,"created_at":"2011-10-21T17:45:37Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Something like this:\r\n\r\n`if ( !empty( get_posts( array_merge( $ctype->from_query_vars, array( 'post__in' => $array( $post_id ) ) ) ) )`\r\n\r\nhttp://wordpress.org/support/topic/plugin-posts-2-posts-limit-connection-type-by-template-via-from_query_vars","comments":0,"title":"Check 'from_query_vars' before showing admin box","updated_at":"2011-10-21T17:45:37Z","url":"https://api.github.com/repos/scribu/wp-posts-to-posts/issues/32","id":2017776,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d22c48810052c48be3559293fa07f85f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d22c48810052c48be3559293fa07f85f","url":"https://api.github.com/users/scribu","id":225715,"login":"scribu"},"html_url":"https://github.com/scribu/wp-posts-to-posts/issues/32","labels":[],"state":"open"},"legacy":{"number":32,"action":"opened","issue":2017776}}