wordpress update 6.6.2

This commit is contained in:
Tony Volpe
2024-09-10 12:45:50 -04:00
parent daa614524b
commit 44b413346f
46 changed files with 309 additions and 174 deletions

View File

@@ -96,7 +96,7 @@ themes.view.Appearance = wp.Backbone.View.extend({
},
// Defines search element container.
searchContainer: $( '.search-form .search-box' ),
searchContainer: $( '.search-form' ),
// Search input and view
// for current theme collection.
@@ -118,11 +118,13 @@ themes.view.Appearance = wp.Backbone.View.extend({
// Render and append after screen title.
view.render();
this.searchContainer
.find( '.search-box' )
.append( $.parseHTML( '<label for="wp-filter-search-input">' + l10n.search + '</label>' ) )
.append( view.el )
.on( 'submit', function( event ) {
event.preventDefault();
});
.append( view.el );
this.searchContainer.on( 'submit', function( event ) {
event.preventDefault();
});
},
// Checks when the user gets close to the bottom

File diff suppressed because one or more lines are too long