[wp-trac] [WordPress Trac] #18701: "hierarchical" argument for get_pages() does nothing

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 19 06:48:32 UTC 2011


#18701: "hierarchical" argument for get_pages() does nothing
--------------------------+-----------------------------
 Reporter:  Viper007Bond  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The `hierarchical` argument for `get_pages()` is never actually used. It
 is in an `if` statement, but one that requires `child_of` to also be set:

 {{{
 if ( $child_of || $hierarchical )
         $pages = & get_page_children($child_of, $pages);
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18701>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list