Add back "Add New" next to h2 on Nav Menus screen.

props DrewAPicture. see #23641

git-svn-id: http://core.svn.wordpress.org/trunk@23641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-03-07 17:04:32 +00:00
parent 1e555a03a1
commit adecc9f798

View File

@ -453,7 +453,7 @@ require_once( './admin-header.php' );
?>
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php _e( 'Menus' ); ?></h2>
<h2><?php _e( 'Menus' ); ?> <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => 0, ), admin_url( 'nav-menus.php' ) ) ); ?>" class="add-new-h2"><?php _ex( 'Add New', 'menu' ); ?></a></h2>
<?php
foreach( $messages as $message ) :
echo $message . "\n";