Make WordPress Core


Ignore:
Timestamp:
07/18/2014 04:49:19 AM (10 years ago)
Author:
helen
Message:

Install Plugins screen:

  • Utilize the (currently-named) filter bar from the Add Themes screen.
  • Move the upload link to the h2, also like the Add Themes screen.

see #28673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugin-install.php

    r27469 r29218  
    7474?>
    7575<div class="wrap">
    76 <h2><?php echo esc_html( $title ); ?></h2>
     76<h2>
     77    <?php
     78        echo esc_html( $title );
     79        $href = self_admin_url( 'plugin-install.php?tab=upload' );
     80    ?>
     81    <a href="<?php echo $href; ?>" class="upload add-new-h2"><?php _e( 'Upload Plugin' ); ?></a>
     82</h2>
    7783
    7884<?php $wp_list_table->views(); ?>
Note: See TracChangeset for help on using the changeset viewer.