[wp-trac] [WordPress Trac] #55052: The tag field hangs the browsers when you have a bunch of tags

WordPress Trac noreply at wordpress.org
Mon Feb 7 18:00:18 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:  5.9.1
Component:  Query                                |     Version:  5.9
 Severity:  critical                             |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by pikamander2):

 **Usage example (limit to 5 results):**

     add_filter('term_search_num_results', function($number){return 5;});

 **Usage example (limit to 50 results):**

     add_filter('term_search_num_results', function($number){return 5;});

 **Usage example (no limit):**

     add_filter('term_search_num_results', function($number){return
 null;});

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


More information about the wp-trac mailing list