mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Accessibility: Remove inappropriate content from the Themes screen heading.
Props joedolson. See #26601. git-svn-id: https://develop.svn.wordpress.org/trunk@39528 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -83,7 +83,7 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
||||
},
|
||||
|
||||
// Defines search element container
|
||||
searchContainer: $( '#wpbody h1:first' ),
|
||||
searchContainer: $( '.search-form' ),
|
||||
|
||||
// Search input and view
|
||||
// for current theme collection
|
||||
@@ -1773,10 +1773,6 @@ themes.view.Installer = themes.view.Appearance.extend({
|
||||
|
||||
activeClass: 'current',
|
||||
|
||||
// Overwrite search container class to append search
|
||||
// in new location
|
||||
searchContainer: $( '.wp-filter .search-form' ),
|
||||
|
||||
/*
|
||||
* When users press the "Upload Theme" button, show the upload form in place.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user