mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user