Make WordPress Core


Ignore:
Timestamp:
05/10/2011 07:18:16 PM (14 years ago)
Author:
ryan
Message:

Remove favorite_actions() from h2s. Restore Add New buttons. see #17324

File:
1 edited

Legend:

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

    r17800 r17849  
    191191<div class="wrap">
    192192<?php screen_icon(); ?>
    193 <h2><?php
    194 echo esc_html( $post_type_object->labels->name );
    195 favorite_actions( $current_screen );
     193<h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="button add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php
    196194if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    197195    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', get_search_query() ); ?>
Note: See TracChangeset for help on using the changeset viewer.