[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
Sun Jun 29 13:59:35 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: Future
Severity: minor | Release
Keywords: good-first-bug needs-unit-tests | Version: 3.0.2
has-patch 4.0-early | Resolution:
| Focuses:
-------------------------------------------------+-------------------------
Comment (by willmot):
Whilst I'm not sure the original change / patch is a good idea yet, it
would be good to at least get the unit tests for the current functionality
in, is there any reason the unit tests for `get_pages`, `wp_list_pages` &
the `Walker` class can't be committed separately?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15667#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list