Make WordPress Core

Changeset 25142


Ignore:
Timestamp:
08/27/2013 09:05:03 PM (11 years ago)
Author:
nacin
Message:

Pass $taxonomies to the get_terms_orderby filter.

props johnbillion.
fixes #18754.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r25133 r25142  
    12891289        $orderby = 't.name';
    12901290
    1291     $orderby = apply_filters( 'get_terms_orderby', $orderby, $args );
     1291    $orderby = apply_filters( 'get_terms_orderby', $orderby, $args, $taxonomies );
    12921292
    12931293    if ( !empty($orderby) )
Note: See TracChangeset for help on using the changeset viewer.