[wp-trac] [WordPress Trac] #25750: Regression in get_pages: hierarchical is disabled when using default arguments

WordPress Trac noreply at wordpress.org
Tue Oct 29 01:49:06 UTC 2013


#25750: Regression in get_pages: hierarchical is disabled when using default
arguments
------------------------------+---------------------
 Reporter:  chrisbliss18      |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.7.1
Component:  Query             |     Version:  3.7
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by nacin):

 In [changeset:"25976"]:
 {{{
 #!CommitTicketReference repository="" revision="25976"
 Avoid resetting the 'hierarchical' argument in get_pages() when 'parent'
 is -1, the default.

 Merges [25974] and [25975] to the 3.7 branch.

 Fixes a regression introduced in [25270]. Adds unit tests.

 props chrisbliss18.
 fixes #25750.
 }}}

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


More information about the wp-trac mailing list