mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user