[wp-trac] [WordPress Trac] #17056: get_pages doesn't except multiple post stati
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 5 18:38:44 UTC 2011
#17056: get_pages doesn't except multiple post stati
--------------------------+-----------------------------
Reporter: jakemgold | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
get_pages cannot retrieve multiple pages with multiple post stati (say,
"public,private" due to the way it filters the post status and queries the
database.
Use case is a client who wants to show private and public pages when
logged in, only public pages when the user is not logged in.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17056>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list