[wp-trac] [WordPress Trac] #55162: Incorrect parameter passed to update_term_cache from _prime_term_caches

WordPress Trac noreply at wordpress.org
Tue Mar 8 04:23:48 UTC 2022

#55162: Incorrect parameter passed to update_term_cache from _prime_term_caches
 Reporter:  david.binda            |       Owner:  peterwilsoncc
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  6.0
Component:  Taxonomy               |     Version:  4.6
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"52830" 52830]:
 #!CommitTicketReference repository="" revision="52830"
 Taxonomy: Improve code quality within `_prime_term_caches()`.

 Remove the second parameter on the call to `update_term_cache()` from
 within the function `_prime_term_caches()`. The since deprecated parameter
 of the former was at one point a string, never a boolean.

 Props david.binda, SergeyBiryukov, azouamauriac.
 Fixes #55162.

Ticket URL: <https://core.trac.wordpress.org/ticket/55162#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list