[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 23 04:15:59 UTC 2020
#40351: Term post re-counts scale poorly, are common and difficult to avoid
-------------------------------------------------+-------------------------
Reporter: mattoperry | Owner: whyisjake
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.6
Component: Taxonomy | Version: 4.8
Severity: normal | Resolution:
Keywords: needs-dev-note has-patch has-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
@Chouby @lcyh78 Thanks for the patches re: sending the taxonomy object
instead of the name, I will put that in early next week. I will probably
use [attachment:"40351.4.diff"] as it matches the code used for full term
counts in `_update_post_term_count()`.
@Chouby For the terms created and assigned using the filter, I will create
a follow-up ticket as the patch might need a few iterations and unit tests
so I think it will be confusing to continue it here. Again, I will action
this next week and cc you on the ticket when I do so.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40351#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list