mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@38795 git-svn-id: http://core.svn.wordpress.org/trunk@38738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
07b97c1d57
commit
da4da31af1
@ -1017,7 +1017,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
}
|
||||
|
||||
.theme-install-php .wp-filter {
|
||||
padding: 0 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.theme-install-php a.upload,
|
||||
|
2
wp-admin/css/themes-rtl.min.css
vendored
2
wp-admin/css/themes-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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,
|
||||
|
2
wp-admin/css/themes.min.css
vendored
2
wp-admin/css/themes.min.css
vendored
File diff suppressed because one or more lines are too long
@ -262,7 +262,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
|
||||
<div class="search-form">
|
||||
<label for="media-search-input" class="screen-reader-text"><?php esc_html_e( 'Search Media' ); ?></label>
|
||||
<input type="search" placeholder="<?php esc_attr_e( 'Search' ) ?>" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"></div>
|
||||
<input type="search" placeholder="<?php esc_attr_e( 'Search media items...' ) ?>" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
@ -263,7 +263,7 @@ function install_search_form( $deprecated = true ) {
|
||||
<option value="tag"<?php selected( 'tag', $type ); ?>><?php _ex( 'Tag', 'Plugin Installer' ); ?></option>
|
||||
</select>
|
||||
<label><span class="screen-reader-text"><?php _e( 'Search Plugins' ); ?></span>
|
||||
<input type="search" name="s" value="<?php echo esc_attr( $term ) ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search Plugins' ); ?>" />
|
||||
<input type="search" name="s" value="<?php echo esc_attr( $term ) ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" />
|
||||
</label>
|
||||
<?php submit_button( __( 'Search Plugins' ), 'hide-if-js', false, false, array( 'id' => 'search-submit' ) ); ?>
|
||||
</form><?php
|
||||
|
@ -7069,7 +7069,7 @@ Search = wp.media.View.extend({
|
||||
|
||||
attributes: {
|
||||
type: 'search',
|
||||
placeholder: l10n.search
|
||||
placeholder: l10n.searchMediaPlaceholder
|
||||
},
|
||||
|
||||
events: {
|
||||
|
4
wp-includes/js/media-views.min.js
vendored
4
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
@ -3420,6 +3420,7 @@ function wp_enqueue_media( $args = array() ) {
|
||||
'filterByDate' => __( 'Filter by date' ),
|
||||
'filterByType' => __( 'Filter by type' ),
|
||||
'searchMediaLabel' => __( 'Search Media' ),
|
||||
'searchMediaPlaceholder' => __( 'Search media items...' ), // placeholder (no ellipsis)
|
||||
'noMedia' => __( 'No media files found.' ),
|
||||
|
||||
// Library Details
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38794';
|
||||
$wp_version = '4.7-alpha-38795';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user