Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4
git-svn-id: https://develop.svn.wordpress.org/trunk@6491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6da1524825
commit
d061a16188
@ -1611,6 +1611,7 @@ function &get_pages($args = '') {
|
||||
$exclude = '';
|
||||
$meta_key = '';
|
||||
$meta_value = '';
|
||||
$hierarchical = false;
|
||||
$incpages = preg_split('/[\s,]+/',$include);
|
||||
if ( count($incpages) ) {
|
||||
foreach ( $incpages as $incpage ) {
|
||||
|
Loading…
Reference in New Issue
Block a user