[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 Apr 6 05:46:25 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:  6.0
Component:  Editor            |     Version:
 Severity:  critical          |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch needs-testing 2nd-opinion => has-patch commit
 * component:  Query => Editor


Comment:

 Testing notes:

 1) Install classic-editor
 2) Create around one thousand tags: `wp term generate post_tag
 --count=1111` (Tag 1, Tag 2, ... Tag n)
 3) Go to the classic editor interface
 4) Search for the term `tag` in the tag search

 **Before**
 * impractically large search results dropdown
 * I wasn't able to make it crash (even after adding another 5111 tags) but
 the AJAX request was slow

 **After**
 * Tags limited to a usable amount
 * AJAX request faster
 * `number` parameter confirmed to have an affect

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55052#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list