Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: https://develop.svn.wordpress.org/trunk@12106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9b809c318d
commit
3875ec788d
@ -2471,8 +2471,6 @@ function &get_pages($args = '') {
|
||||
$pages = & get_page_children($child_of, $pages);
|
||||
|
||||
if ( !empty($exclude_tree) ) {
|
||||
$exclude = array();
|
||||
|
||||
$exclude = (int) $exclude_tree;
|
||||
$children = get_page_children($exclude, $pages);
|
||||
$excludes = array();
|
||||
|
Loading…
Reference in New Issue
Block a user