[wp-trac] Re: [WordPress Trac] #8874: wp_list_pages consume a lot
of memory
WordPress Trac
wp-trac at lists.automattic.com
Wed May 6 20:51:51 GMT 2009
#8874: wp_list_pages consume a lot of memory
--------------------------+-------------------------------------------------
Reporter: horaciod | Owner: anonymous
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.8
Component: Optimization | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by hakre):
* keywords: needs-patch => has-patch
* milestone: Future Release => 2.8
Comment:
patch added, should to the job. set the ''fields'' - argument to {{{'ID,
post_title, post_parent'}}}. did work like a charm for me.
cache only works on default '*' set of fields. it can make sense to use
the $fields parameters content as part of the cache key and enable caching
for certain type of queries as well.
addtionally the docblock has been extended to have a description of all
parameters. all but author.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8874#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list