Add back "Add New" next to h2 on Nav Menus screen.
props DrewAPicture. see #23641 git-svn-id: https://develop.svn.wordpress.org/trunk@23641 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d049a2b1ed
commit
2f09df84f3
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue