WordPress.org

Make WordPress Core

Ticket #4693: honour_args.diff

File honour_args.diff, 388 bytes (added by jorda, 13 years ago)
  • wp-includes/category.php

     
    128128                        return apply_filters('get_tags', $cache[$key], $args);
    129129
    130130
    131         $tags = get_terms('post_tag');
     131        $tags = get_terms('post_tag', $args);
    132132
    133133        if ( empty($tags) )
    134134                return array();