Ticket #28888: 28888.patch
File 28888.patch, 1.6 KB (added by , 8 years ago) |
---|
-
wp-admin/js/customize-widgets.js
53 53 54 54 // Controls searching on the current widget collection 55 55 // and triggers an update event 56 doSearch: function( value ) { 56 doSearch: _.debounce( function( value ) { 57 var options = {}; 57 58 58 59 // Don't do anything if we've already done this search 59 60 // Useful because the search handler fires multiple times per keystroke … … 75 76 widget.set( 'search_matched', true ); 76 77 } ); 77 78 } 78 },79 79 80 }, 500 ), 81 80 82 // Performs a search within the collection 81 83 // @uses RegExp 82 84 search: function( term ) { -
wp-includes/class-wp-customize-widgets.php
770 770 'saveBtnLabel' => __( 'Apply' ), 771 771 'saveBtnTooltip' => __( 'Save and preview changes before publishing them.' ), 772 772 'removeBtnLabel' => __( 'Remove' ), 773 'removeBtnTooltip' => __( ' Trash widget by moving it to the inactive widgets sidebar.' ),773 'removeBtnTooltip' => __( 'Remove widget by moving it to the inactive widgets list: your widget settings/content will be preserved.' ), 774 774 'error' => __( 'An error has occurred. Please reload the page and try again.' ), 775 775 'widgetMovedUp' => __( 'Widget moved up' ), 776 776 'widgetMovedDown' => __( 'Widget moved down' ),