Ticket #17056 (closed defect (bug): duplicate)

Opened 14 months ago

Last modified 14 months ago

get_pages doesn't accept multiple post stati

Reported by: jakemgold Owned by:
Priority: normal Milestone:
Component: General Version: 3.1
Severity: normal Keywords:
Cc:

Description

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.

Change History

  • Summary changed from get_pages doesn't except multiple post stati to get_pages doesn't accept multiple post stati
  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone Awaiting Review deleted

Handled by the patch in #8592.

Note: See TracTickets for help on using tickets.