Remove code that is dead as of [19523].

git-svn-id: http://svn.automattic.com/wordpress/trunk@19526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-12-01 04:43:17 +00:00
parent c06518a851
commit 2cee887c0b
1 changed files with 1 additions and 2 deletions

View File

@ -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 )