WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#34282 closed defect (bug) (fixed)

`get_terms()` should not cache `WP_Term` objects

Reported by: boonebgorges Owned by: boonebgorges
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Related: #34262.

get_terms() should not cache entire WP_Term objects, but only the raw queried data.

Change History (2)

#1 @boonebgorges
4 years ago

  • Milestone changed from Awaiting Review to 4.4
  • Owner set to boonebgorges
  • Status changed from new to assigned

#2 @boonebgorges
4 years ago

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

In 35117:

In get_terms(), don't store WP_Term objects in cache.

Fixes #34282.

Note: See TracTickets for help on using tickets.