[wp-trac] [WordPress Trac] #55052: The tag field hangs the browsers when you have a bunch of tags
WordPress Trac
noreply at wordpress.org
Thu Feb 3 18:32:07 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 | Resolution:
Keywords: | Focuses: performance
--------------------------+------------------------------
Comment (by pikamander2):
@SergeyBiryukov - I've attached a patch that:
1. Adds support for specifying the number of terms to be returned (the
default remains unlimited like before for the sake of backwards
compatibility) in the wp_ajax_ajax_tag_search function in ajax-actions.php
2. Sets the relevant GET variable to 20 in the Classic Editor's AJAX call
in tags-suggest.js to match the Gutenberg behavior and prevent browser
crashes on sites that have thousands of tags
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55052#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list