WordPress.org

Make WordPress Core

Changeset 23641


Ignore:
Timestamp:
03/07/13 17:04:32 (14 months ago)
Author:
markjaquith
Message:

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

props DrewAPicture. see #23641

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/nav-menus.php

    r23622 r23641  
    454454<div class="wrap"> 
    455455    <?php screen_icon(); ?> 
    456     <h2><?php _e( 'Menus' ); ?></h2> 
     456    <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> 
    457457    <?php 
    458458    foreach( $messages as $message ) : 
Note: See TracChangeset for help on using the changeset viewer.