[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:46:01 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 |
------------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25974"]:
{{{
#!CommitTicketReference repository="" revision="25974"
Avoid resetting the 'hierarchical' argument in get_pages() when 'parent'
is -1, the default.
Fixes a regression introduced in [25270]. Adds unit tests.
props chrisbliss18.
fixes #25750.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25750#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list