Honor Post Type for Sticky Posts
|Reported by:||chrisscott||Owned by:||ryan|
When specifying a post type in WP_Query, sticky posts are added to the beginning of the array regardless of the post_type if specified. The attached patch will restrict the stickies to match the post_type if specified. This is compatible with the multiple post types patch submitted in #10791.
Change History (7)
- Keywords changed from has-patch, needs-testing to has-patch needs-testing