WordPress.org

Make WordPress Core

Ticket #21202: 21202.diff

File 21202.diff, 399 bytes (added by Latz, 22 months ago)
  • wp-includes/category.php

     
    253253        $tags = get_terms( 'post_tag', $args ); 
    254254 
    255255        if ( empty( $tags ) ) { 
    256                 $return = array(); 
    257                 return $return; 
     256                return array(); 
    258257        } 
    259258 
    260259        $tags = apply_filters( 'get_tags', $tags, $args );