WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47534, comment 1


Ignore:
Timestamp:
06/13/2019 09:04:18 AM (10 months ago)
Author:
Mahesh901122
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47534, comment 1

    initial v1  
    33File: `\src\js\_enqueues\wp\customize\nav-menus.js` line 219:
    44
    5 ```
     5{{{
    66self.$search.val( '' ).focus().trigger( 'keyup' );
     7self.collection.doSearch( '' ); // NEW CODE HERE TO RESET THE SEARCH.
     8}}}
     9
     10But it not works for menu search. So, I have just created a patch for the customizer widget search.