From 7ce67a141d045ac0aeb2c28a02c3cafb6fcb700e Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 14 Oct 2016 21:32:08 +0000 Subject: [PATCH] Administration: Better consistency for the Media, Add Plugins, and Add Themes toolbars. Fixes the Add Themes toolbar padding. Standardizes the placeholders to no title case and three trailing dots. Expands the Media search placeholder in "Search media items..." for consistency with the Plugins and Themes toolbars. Props mikeviele, jamesacero, mattking5000, koenschipper, dungengronovius. Fixes #38010. git-svn-id: https://develop.svn.wordpress.org/trunk@38795 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/themes.css | 2 +- src/wp-admin/includes/class-wp-media-list-table.php | 2 +- src/wp-admin/includes/plugin-install.php | 2 +- src/wp-includes/js/media-views.js | 2 +- src/wp-includes/js/media/views/search.js | 2 +- src/wp-includes/media.php | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 857f14dc1a..92f31fdb80 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -1017,7 +1017,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { } .theme-install-php .wp-filter { - padding: 0 20px; + padding-left: 20px; } .theme-install-php a.upload, diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php index 233ca6ebf4..d0c24449f4 100644 --- a/src/wp-admin/includes/class-wp-media-list-table.php +++ b/src/wp-admin/includes/class-wp-media-list-table.php @@ -262,7 +262,7 @@ class WP_Media_List_Table extends WP_List_Table {
-
+ > 'search-submit' ) ); ?> __( 'Filter by date' ), 'filterByType' => __( 'Filter by type' ), 'searchMediaLabel' => __( 'Search Media' ), + 'searchMediaPlaceholder' => __( 'Search media items...' ), // placeholder (no ellipsis) 'noMedia' => __( 'No media files found.' ), // Library Details