diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 09ca52f5e1..93df284fc6 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1288,7 +1288,7 @@ function get_terms($taxonomies, $args = '') { else $orderby = 't.name'; - $orderby = apply_filters( 'get_terms_orderby', $orderby, $args ); + $orderby = apply_filters( 'get_terms_orderby', $orderby, $args, $taxonomies ); if ( !empty($orderby) ) $orderby = "ORDER BY $orderby";