Plugins: Adjust the pause before running plugin search AJAX request on "Add Plugins" screen to allow more time for using browser's autocomplete.

Props donmhico, apermo.
Fixes #46021.
Built from https://develop.svn.wordpress.org/trunk@45793


git-svn-id: http://core.svn.wordpress.org/trunk@45604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-08-14 02:02:56 +00:00
parent 3ce3927dc1
commit 428a738f1d
3 changed files with 3 additions and 3 deletions

View File

@ -2235,7 +2235,7 @@
wp.a11y.speak( wp.updates.l10n.pluginsFound.replace( '%d', response.count ) ); wp.a11y.speak( wp.updates.l10n.pluginsFound.replace( '%d', response.count ) );
} }
} ); } );
}, 500 ) ); }, 1000 ) );
if ( $pluginSearch.length ) { if ( $pluginSearch.length ) {
$pluginSearch.attr( 'aria-describedby', 'live-search-desc' ); $pluginSearch.attr( 'aria-describedby', 'live-search-desc' );

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-45792'; $wp_version = '5.3-alpha-45793';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.