[wp-trac] [WordPress Trac] #8874: wp_list_pages consume a lot of memory

WordPress Trac noreply at wordpress.org
Thu May 29 02:04:46 UTC 2014


#8874: wp_list_pages  consume a lot of memory
-------------------------+--------------------------
 Reporter:  horaciod     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:  2.7
 Severity:  normal       |  Resolution:  maybelater
 Keywords:  needs-patch  |     Focuses:  performance
-------------------------+--------------------------
Changes (by wonderboymusic):

 * status:  reopened => closed
 * resolution:   => maybelater
 * milestone:  4.0 =>


Comment:

 Actually no, scratch that. This would require a bunch of gymnastics to
 avoid caching the fragmented results. Not a big enough performance gain to
 warrant it. Would also require passing `fields` down to other functions
 like `get_page_children()`. I can see why no one has refreshed this patch
 in 5 years.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/8874#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list