diff options
Diffstat (limited to 'wp-admin/theme-install.php')
-rw-r--r-- | wp-admin/theme-install.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 2521297..1cebf34 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -10,7 +10,7 @@ require_once __DIR__ . '/admin.php'; require ABSPATH . 'wp-admin/includes/theme-install.php'; -wp_reset_vars( array( 'tab' ) ); +$tab = ! empty( $_REQUEST['tab'] ) ? sanitize_text_field( $_REQUEST['tab'] ) : ''; if ( ! current_user_can( 'install_themes' ) ) { wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) ); @@ -56,7 +56,6 @@ wp_localize_script( 'l10n' => array( 'addNew' => __( 'Add New Theme' ), 'search' => __( 'Search Themes' ), - 'searchPlaceholder' => __( 'Search themes...' ), // Placeholder (no ellipsis). 'upload' => __( 'Upload Theme' ), 'back' => __( 'Back' ), 'error' => sprintf( @@ -217,7 +216,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php'; <button type="button" class="button drawer-toggle" aria-expanded="false"><?php _e( 'Feature Filter' ); ?></button> - <form class="search-form"></form> + <form class="search-form"><p class="search-box"></p></form> <div class="favorites-form"> <?php |