[wp-trac] [WordPress Trac] #31724: Multiple calls get_terms() when: custom taxonomy (with no posts in it) and wp_nav_menu
WordPress Trac
noreply at wordpress.org
Fri Apr 24 18:57:09 UTC 2015
#31724: Multiple calls get_terms() when: custom taxonomy (with no posts in it) and
wp_nav_menu
--------------------------+---------------------------
Reporter: kg69design | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: General | Version: 4.1.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"32294"]:
{{{
#!CommitTicketReference repository="" revision="32294"
When priming the cache for taxonomy term nav items, don't fetch term
descendants.
Descending the term tree causes unnecessary database queries when priming
the
cache for a term with many descendants.
Fixes #31724.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31724#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list