Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/wp-admin/includes/class-wp-plugin-install-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ protected function get_views() {
* Overrides parent views so we can use the filter bar display.
*/
public function views() {
global $tab;

$views = $this->get_views();

/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
Expand All @@ -358,7 +360,11 @@ public function views() {
?>
</ul>

<?php install_search_form(); ?>
<?php
if ( 'favorites' !== $tab ) {
install_search_form();
}
?>
</div>
<?php
}
Expand Down
Loading