[wp-trac] [WordPress Trac] #10745: Add number parameter to wp_list_pages()

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 10 09:20:25 UTC 2012


#10745: Add number parameter to wp_list_pages()
--------------------------+-----------------------------
 Reporter:  security_man  |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Template      |     Version:  2.8.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  invalid =>
 * component:  General => Template


Comment:

 Replying to [comment:5 wonderboymusic]:
 > This works now in trunk

 It doesn't for me. In `get_pages()`, `LIMIT` is applied earlier than
 children are calculated:
 http://core.trac.wordpress.org/browser/tags/3.4.2/wp-
 includes/post.php#L3542

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10745#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list