#4660 closed defect (bug) (invalid)
get_pages() ignores `hierarchical' arg when a cache for a query hits
Reported by: | reedom | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.2.1 |
Component: | Template | Keywords: | cache |
Focuses: | Cc: |
Description
get_pages()
in post.php
will shortcut if a cache for a query hits.
In that case it misses a chance to call `get_page_children()' so that it results non-hierarchical-ordered page array.
representation
- create some pages hierarchical.
- place the attatched file
test_get_pages_order.php
in/wp_includes
. - run the script from shell.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Hi Reedom, please attach a patch vs trunk.