[wp-trac] [WordPress Trac] #55372: Use tax_query in wp_get_nav_menu_items

WordPress Trac noreply at wordpress.org
Thu Mar 24 01:24:08 UTC 2022

#55372: Use tax_query in wp_get_nav_menu_items
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Menus                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests good-     |     Focuses:
  first-bug                                      |  performance

Comment (by peterwilsoncc):

 I logged some [https://github.com/WordPress/wordpress-
 develop/pull/2399#discussion_r833811929 notes on the pull request] using a
 testing plugin to loop through some various sized menus using the old and
 the new code.

 I was seeing the longer query @spacedmonkey documents above but the
 cumulative result of the patch was a positive.

 It would be good to get some feedback from hosts with separate web and
 MySQL servers to make sure that's not a problem.

 Generally, I'm in favour of this going in.

Ticket URL: <https://core.trac.wordpress.org/ticket/55372#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list