[wp-trac] [WordPress Trac] #37094: wp_get_nav_menu_items should use tax_query
WordPress Trac
noreply at wordpress.org
Thu Jun 22 03:18:20 UTC 2017
#37094: wp_get_nav_menu_items should use tax_query
-----------------------------------+---------------------------
Reporter: spacedmonkey | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Menus | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion | Focuses: performance
-----------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"40921"]:
{{{
#!CommitTicketReference repository="" revision="40921"
Cache results in `get_objects_in_term()`.
This helps to reduce database queries when generating nav menus.
Props spacedmonkey.
Fixes #37094.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37094#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list