Ugh, I knew I would find the right syntax after posting here. This works:
get_posts(array(
'post_type' => 'page',
'tax_query' => array(
array(
'taxonomy' => 'category',
'field' => 'id',
'terms' => 50
)
)
));
Thanks for the reply, though. WordPress 3.8.3, and I don’t think we’re running anything else that would hook WP_Query, although I didn’t search through all the plugins we have installed.
I will note that in the WordPress pages admin section, I can successfully filter by the category.
/wp-admin/edit.php?s&post_status=all&post_type=page&action=-1&m=0&cat=50&paged=1&action2=-1
So the plugin is working fine in that case but I can’t seem to get WP_Query or get_posts or anything to give me back what I want.