From 099603c7f24e58aca846108c5bea85b133b03682 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 1 Dec 2011 04:43:17 +0000 Subject: [PATCH] Remove code that is dead as of [19523]. git-svn-id: https://develop.svn.wordpress.org/trunk@19526 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/admin-bar.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 138bacc88c..1ef457f4cb 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -503,10 +503,9 @@ function wp_admin_bar_new_content_menu( $wp_admin_bar ) { foreach ( $actions as $link => $action ) { list( $title, $id ) = $action; - $parent = empty( $action[2] ) ? 'new-content' : $action[2]; $wp_admin_bar->add_menu( array( - 'parent' => $parent, + 'parent' => 'new-content', 'id' => $id, 'title' => $title, 'href' => admin_url( $link )