WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r29636 r30249  
    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     $wp_list_table->display();
     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
    242247}
    243248add_action( 'install_plugins_search',    'display_plugins_table' );
Note: See TracChangeset for help on using the changeset viewer.