[wp-trac] [WordPress Trac] #4660: get_pages() ignores
`hierarchical' arg when a cache for a query hits
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 21 05:05:30 GMT 2007
#4660: get_pages() ignores `hierarchical' arg when a cache for a query hits
---------------------+------------------------------------------------------
Reporter: reedom | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 2.2.1
Severity: normal | Keywords: cache
---------------------+------------------------------------------------------
`get_pages()` in `post.php` will shortcut if a cache for a query
hits.[[br]]
In that case it misses a chance to call `get_page_children()' so that it
results non-hierarchical-ordered page array.
== representation ==
1. create some pages hierarchical.
1. place the attatched file `test_get_pages_order.php` in `/wp_includes`.
1. run the script from shell.
--
Ticket URL: <http://trac.wordpress.org/ticket/4660>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list