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

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 10 02:48:43 UTC 2012


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

 * keywords:  needs-patch =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 This works now in trunk - pick a page with more than 2 children by id and
 run this:

 {{{
 php -r 'require( "wp-load.php" );
 wp_list_pages("child_of=47&title_li=&number=2");'
 }}}

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


More information about the wp-trac mailing list