WordPress.org

Make WordPress Core

Opened 21 months ago

Last modified 21 months ago

#18754 new enhancement

Add taxonomy argument to get_terms_orderby filter

Reported by: johnbillion Owned by:
Priority: normal Milestone: Awaiting Review
Component: Taxonomy Version: 3.3
Severity: normal Keywords: has-patch
Cc:

Description

The get_terms_orderby filter in get_terms() doesn't get passed the taxonomies parameter.

If a plugin wants to use the taxonomies parameter when filtering the terms order, it must also filter get_terms_args and add the taxonomies argument to the $args array, so it can subsequently use it in the get_terms_orderby filter.

Attachments (1)

18754.patch (462 bytes) - added by johnbillion 21 months ago.

Download all attachments as: .zip

Change History (2)

johnbillion21 months ago

comment:1 johnbillion21 months ago

  • Keywords has-patch added

Patch

Note: See TracTickets for help on using tickets.