post_type => array stopped working in 3.5.2
-
I have a query that grabs from posts various post types have a certain category. It worked in 3.5.1, but no more.
Now it just returns posts for the last post type listed.
Can anyone offer any guidance?global $post; $args = array( 'numberposts' => 5, 'post_type' => array('press','news','tribe_events'), 'category' => '9' ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘post_type => array stopped working in 3.5.2’ is closed to new replies.