Make WordPress Core


Ignore:
Timestamp:
08/27/2014 02:52:29 AM (11 years ago)
Author:
nacin
Message:

Plugin installer: Minor adjustments to aid with discovery.

fixes #29387.

File:
1 edited

Legend:

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

    r29634 r29636  
    129129    <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%1$s">WordPress Plugin Directory</a> or upload a plugin in .zip format via <a href="%2$s">this page</a>.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p>
    130130
    131     <h4><?php _e('Search') ?></h4>
    132     <?php install_search_form( false ); ?>
    133 
    134     <h4><?php _e('Popular tags') ?></h4>
    135     <p class="install-help"><?php _e('You may also browse based on the most popular tags in the Plugin Directory:') ?></p>
     131    <?php display_plugins_table(); ?>
     132
     133    <h3><?php _e( 'Popular tags' ) ?></h3>
     134    <p><?php _e( 'You may also browse based on the most popular tags in the Plugin Directory:' ) ?></p>
    136135    <?php
    137136
     
    154153    echo '</p><br class="clear" />';
    155154}
    156 add_action('install_plugins_dashboard', 'install_dashboard');
     155add_action( 'install_plugins_featured', 'install_dashboard' );
    157156
    158157/**
     
    243242}
    244243add_action( 'install_plugins_search',    'display_plugins_table' );
    245 add_action( 'install_plugins_featured',  'display_plugins_table' );
    246244add_action( 'install_plugins_popular',   'display_plugins_table' );
    247245add_action( 'install_plugins_new',       'display_plugins_table' );
Note: See TracChangeset for help on using the changeset viewer.