Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#36951 closed defect (bug) (fixed)

Lost param $term_query in get_terms filter

Reported by: sebastianpisula's profile sebastian.pisula Owned by: boonebgorges's profile 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 7 years ago.

Download all attachments as: .zip

Change History (4)

#1 @sebastian.pisula
7 years ago

  • Keywords has-patch added

#2 @boonebgorges
7 years ago

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

#3 @boonebgorges
7 years 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.