Administration: Remove obsolete .ac_results class references.

Core does not use the jQuery.suggest plugin since [38797].

Props afercia, hareesh-pillai, garrett-eclipse.
Fixes #40260.

git-svn-id: https://develop.svn.wordpress.org/trunk@49213 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-19 22:31:08 +00:00
parent 80329c379a
commit d86bda1180
2 changed files with 1 additions and 3 deletions

View File

@ -420,7 +420,6 @@ window.wp = window.wp || {};
$error = $errorNotice.find( '.error' );
$( 'table.widefat .spinner' ).removeClass( 'is-active' );
$( '.ac_results' ).hide();
if (r) {
if ( -1 !== r.indexOf( '<tr' ) ) {
@ -466,7 +465,6 @@ window.wp = window.wp || {};
if ( id ) {
$( '.spinner', $tableWideFat ).removeClass( 'is-active' );
$( '.ac_results' ).hide();
if ( 'bulk-edit' === id ) {

View File

@ -1238,7 +1238,7 @@ p.popular-tags a {
display: inline-block;
}
/* Suggest.js autocomplete, no more used by core. */
/* Back-compat styles from deprecated jQuery.suggest, see ticket #40260. */
.ac_results {
display: none;
margin: -1px 0 0;