Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a980fad82a
commit
ea955a4191
|
@ -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