From 6e868eed6e411f906d8c6f4f95315440cc9da232 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 8 May 2017 15:58:52 +0000 Subject: [PATCH] Themes: Fix missing search field in the Theme Install screen after [40572]. Props desrosj, cristianozanca for reporting. Fixes #34881. git-svn-id: https://develop.svn.wordpress.org/trunk@40586 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/themes.css | 2 +- src/wp-admin/js/theme.js | 2 +- src/wp-admin/theme-install.php | 2 +- src/wp-admin/themes.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index f12fea63ea..24f50fc51b 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -20,7 +20,7 @@ } /* Search form */ -.themes-php .wp-filter-search-form { +.themes-php .search-form { display: inline; } diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index ea9ae00c27..39ed26ad94 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -83,7 +83,7 @@ themes.view.Appearance = wp.Backbone.View.extend({ }, // Defines search element container - searchContainer: $( '.wp-filter-search-form' ), + searchContainer: $( '.search-form' ), // Search input and view // for current theme collection diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index b3eff07ae8..eb956f4380 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -164,7 +164,7 @@ include(ABSPATH . 'wp-admin/admin-header.php'); -
+
" class="hide-if-no-js page-title-action"> -
+