[wp-trac] [WordPress Trac] #40351: Term post re-counts scale poorly, are common and difficult to avoid
WordPress Trac
noreply at wordpress.org
Fri Oct 16 02:41:30 UTC 2020
#40351: Term post re-counts scale poorly, are common and difficult to avoid
-------------------------------------------------+-------------------------
Reporter: mattoperry | Owner: whyisjake
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.6
Component: Taxonomy | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: needs-dev-note has-patch has-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"49171" 49171]:
{{{
#!CommitTicketReference repository="" revision="49171"
Taxonomy: Fix warnings thrown by custom term count callbacks.
Add a `use` to a closure to avoid an undefined variable throwing a
warning. Adds unit tests to ensure the custom callbacks run as expected
when defined.
Follow up to [49141].
Props ocean90, dd32.
Fixes #40351.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40351#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list