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/upload.php

    r17800 r17849  
    161161<div class="wrap">
    162162<?php screen_icon(); ?>
    163 <h2><?php
    164 echo esc_html( $title );
    165 favorite_actions( $current_screen );
     163<h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="button add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php
    166164if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    167165    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', get_search_query() ); ?>
Note: See TracChangeset for help on using the changeset viewer.