WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r30249 r29636  
    236236    global $wp_list_table;
    237237
    238     if ( current_filter() == 'install_plugins_favorites' && empty( $_GET['user'] ) && ! get_user_option( 'wporg_favorites' ) ) {
    239         return;
    240     }
    241 
    242     ?>
    243     <form id="plugin-filter" action="" method="post">
    244         <?php $wp_list_table->display(); ?>
    245     </form>
    246     <?php
     238    if ( current_filter() == 'install_plugins_favorites' && empty( $_GET['user'] ) && ! get_user_option( 'wporg_favorites' ) )
     239            return;
     240
     241    $wp_list_table->display();
    247242}
    248243add_action( 'install_plugins_search',    'display_plugins_table' );
Note: See TracChangeset for help on using the changeset viewer.