[wp-trac] [WordPress Trac] #15667: wp_list_pages, if it finds no pages to display, shows random child pages instead because of a bug in get_pages()
WordPress Trac
noreply at wordpress.org
Tue Mar 11 12:29:23 UTC 2014
#15667: wp_list_pages, if it finds no pages to display, shows random child pages
instead because of a bug in get_pages()
-------------------------------------------------+-------------------------
Reporter: bobsoap | Owner:
Type: defect (bug) | jackreichert
Priority: normal | Status: assigned
Component: Query | Milestone: 3.9
Severity: minor | Version: 3.0.2
Keywords: good-first-bug needs-unit-tests | Resolution:
has-patch 2nd-opinion | Focuses:
-------------------------------------------------+-------------------------
Comment (by willmot):
> Allow a comma separated list of id's to be passed to exclude_tree in
get_pages and then either recommend that over exclude or even specifically
map exclude to exclude_tree in wp_list_pages.
See #9153
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15667#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list