Remove code that is dead as of [19523].
git-svn-id: https://develop.svn.wordpress.org/trunk@19526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f2eea34463
commit
099603c7f2
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue