From aff0065f281e23629d70ab1f224f3027e98bd350 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Mon, 16 Nov 2015 19:49:38 +0000 Subject: [PATCH] Themes: Hide the favorites form when performing a search. The search is global and ignores the user setting. Same for filters. See #34206. git-svn-id: https://develop.svn.wordpress.org/trunk@35647 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 924b98f905..1a91279bac 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -1333,7 +1333,7 @@ themes.view.InstallerSearch = themes.view.Search.extend({ } $( '.filter-links li > a.current' ).removeClass( 'current' ); - $( 'body' ).removeClass( 'show-filters filters-applied' ); + $( 'body' ).removeClass( 'show-filters filters-applied show-favorites-form' ); // Get the themes by sending Ajax POST request to api.wordpress.org/themes // or searching the local cache