mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Themes: use explicit 'search installed themes' label and placeholder.
fixes #26496. Built from https://develop.svn.wordpress.org/trunk@26827 git-svn-id: http://core.svn.wordpress.org/trunk@26714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2530fbbfba
commit
87265a374b
@ -6682,6 +6682,7 @@ span.imgedit-scale-warn {
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
/**
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -6682,6 +6682,7 @@ span.imgedit-scale-warn {
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
/**
|
||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -70,7 +70,9 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
||||
|
||||
// Render and append after screen title
|
||||
view.render();
|
||||
$('#wpbody h2:first').append( view.el );
|
||||
$('#wpbody h2:first')
|
||||
.append( $.parseHTML( '<label class="screen-reader-text" for="theme-search-input">' + l10n.search + '</label>' ) )
|
||||
.append( view.el );
|
||||
},
|
||||
|
||||
// Checks when the user gets close to the bottom
|
||||
@ -597,7 +599,7 @@ themes.view.Search = wp.Backbone.View.extend({
|
||||
className: 'theme-search',
|
||||
|
||||
attributes: {
|
||||
placeholder: l10n.search,
|
||||
placeholder: l10n.searchPlaceholder,
|
||||
type: 'search'
|
||||
},
|
||||
|
||||
|
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
@ -106,7 +106,8 @@ wp_localize_script( 'theme', '_wpThemeSettings', array(
|
||||
),
|
||||
'l10n' => array(
|
||||
'addNew' => __( 'Add New Theme' ),
|
||||
'search' => __( 'Search...' ),
|
||||
'search' => __( 'Search Installed Themes' ),
|
||||
'searchPlaceholder' => __( 'Search installed themes...' ),
|
||||
),
|
||||
) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user