[wp-trac] [WordPress Trac] #4711: get_pages and get_posts do not work well with private posts
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 10 22:09:26 UTC 2010
#4711: get_pages and get_posts do not work well with private posts
--------------------------+-------------------------------------------------
Reporter: Otto42 | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version: 2.9.1
Severity: normal | Keywords: needs-patch featured
--------------------------+-------------------------------------------------
Comment(by ryan):
WP_Query::get_posts() already supports most of this. get_pages() should
call get_posts() and the hierarchical post type bits should go in
get_posts() or WP_Query::get_posts().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/4711#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list