Make WordPress Core


Ignore:
Timestamp:
05/19/2011 01:34:34 AM (15 years ago)
Author:
markjaquith
Message:

Add New links when editing content. fixes #17499

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r17940 r17962  
    196196<div class="wrap">
    197197<?php screen_icon(); ?>
    198 <h2><?php echo esc_html( $title ); ?></h2>
     198<h2><?php echo esc_html( $title ); ?><?php if ( isset( $post_new_file ) ) : ?> <a href="<?php echo esc_url( $post_new_file ) ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a><?php endif; ?></h2>
    199199<?php if ( $notice ) : ?>
    200200<div id="notice" class="error"><p><?php echo $notice ?></p></div>
Note: See TracChangeset for help on using the changeset viewer.