Changeset 16610 for trunk/wp-includes/admin-bar.php
- Timestamp:
- 11/29/2010 04:16:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r16609 r16610 206 206 return; 207 207 208 $wp_admin_bar->add_menu( array( 'id' => 'new-content', 'title' => _x( 'Add New', 'admin bar menu group label' ), 'href' => '', ) );208 $wp_admin_bar->add_menu( array( 'id' => 'new-content', 'title' => _x( 'Add New', 'admin bar menu group label' ), 'href' => admin_url( array_shift( array_keys( $actions ) ) ), ) ); 209 209 210 210 foreach ( $actions as $link => $action ) {
Note: See TracChangeset
for help on using the changeset viewer.