From 3875ec788d4644a36a96d75cd114145426d0fe72 Mon Sep 17 00:00:00 2001 From: Andrew Ozz 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: https://develop.svn.wordpress.org/trunk@12106 602fd350-edb4-49c9-b593-d223f7449a82 --- 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();