[wp-trac] [WordPress Trac] #55052: The tag field hangs the browsers when you have a bunch of tags
WordPress Trac
noreply at wordpress.org
Wed Feb 2 19:33:04 UTC 2022
#55052: The tag field hangs the browsers when you have a bunch of tags
--------------------------+-----------------------------
Reporter: pikamander2 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 5.9
Severity: critical | Keywords:
Focuses: performance |
--------------------------+-----------------------------
One of the recent core updates made the tags feature nearly unusable when
you have a bunch of tags. We have tens of thousands of tags and it used to
work fine, but now it freezes after typing the first few letters.
Other people are reporting the same issue here:
https://wordpress.org/support/topic/classic-editor-page-freezes-when-tags-
is-used/
Steps to reproduce:
1. Create tens of thousands of tags
2. Start editing a post
3. Try typing in the name of a tag
4. The browser will hang and ask if you want to abort the tab
It sounds to me like there are two underlying issues here:
1. The JavaScript is not asynchronous
2. The JavaScript immediately makes the network request rather than
waiting a second or two after a letter is typed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55052>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list