From ea955a41915e38ae0ff1db5db127e35f948c92d9 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sun, 25 Oct 2009 20:54:13 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index b4440387c0..968b0dfee2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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();