Make WordPress Core

#36951 closed defect (bug) (fixed)

Lost param $term_query in get_terms filter

Reported by: sebastian.pisula Owned by: boonebgorges
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch
Focuses: Cc:


Lost param $term_query in get_terms filter

Attachments (1)

36951.patch (649 bytes) - added by sebastian.pisula 22 months ago.

Download all attachments as: .zip

Change History (4)

#1 @sebastian.pisula
22 months ago

  • Keywords has-patch added

#2 @boonebgorges
22 months ago

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

#3 @boonebgorges
22 months ago

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

In 37576:

Pass the proper values to get_terms action.

  • $term_query should be passed.
  • Second and third params should come from the $term_query->query_vars array, so that they're fully parsed.

These changes were missed in [37572].

Props flixos90, sebastian.pisula.
See #35381.
Fixes #36951.

Note: See TracTickets for help on using tickets.