WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/12/2009 03:20:16 AM (12 years ago)
Author:
azaozz
Message:

H2 "Add New" buttons for the main screens

File:
1 edited

Legend:

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

    r11383 r11554  
    9797<div class="wrap">
    9898<?php screen_icon(); ?>
    99 <h2><?php echo esc_html( $title );
     99<h2><?php echo esc_html( $title ); ?> <a href="post-new.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
    100100if ( isset($_GET['s']) && $_GET['s'] )
    101101    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( get_search_query() ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.