WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#11866 closed defect (bug) (fixed)

Convert the taxonomy children cache into a transient

Reported by: ryan Owned by: ryan
Priority: normal Milestone: 3.0
Component: Cache Version:
Severity: normal Keywords:
Cc:

Description

category_children and all $taxonomy_children caches are currently options. Since this information is derived from other information persisted in the DB, it does not need to be stored in options in environments where an object cache is available. They can be converted to transients.

Change History (8)

comment:1 ryan3 years ago

  • Summary changed from Convert the taxnomy children cache into a transient to Convert the taxonomy children cache into a transient

comment:2 ryan3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12693]) Convert taxonomy children cache into a transient. fixes #11866

comment:3 Denis-de-Bernardy3 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

shouldn't the upgrader have a few lines to clean this up?

comment:4 ryan3 years ago

Indeed.

comment:5 dd323 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [14138]) Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866

comment:6 dd323 years ago

(In [14140]) Bump the other upgrade check, Fixes r14138. See #11866

comment:8 ryan3 years ago

(In [14727]) Remove taxonomy children cache purge. see #11866

Note: See TracTickets for help on using tickets.