[wp-trac] [WordPress Trac] #56351: Shared terms will not apply properly to a post in WordPress 6.0

WordPress Trac noreply at wordpress.org
Tue Aug 9 04:32:53 UTC 2022


#56351: Shared terms will not apply properly to a post in WordPress 6.0
----------------------------+------------------------------
 Reporter:  kaygee79        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Taxonomy        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-unit-tests  |     Focuses:
----------------------------+------------------------------

Comment (by peterwilsoncc):

 After further investigation, the underlying cause appears to be [52836]
 for #37189.

 In #37189 the `WP_Term_Query` class switched to caching individual term
 IDs in the main query cache, and them using those IDs to get each
 individual term object.

 On a site with unsplit terms, the `WP_Term_Query` cache no longer includes
 the tt_id relevant to the query.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56351#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list