Make WordPress Core


Ignore:
Timestamp:
11/04/2008 03:22:24 AM (16 years ago)
Author:
ryan
Message:

Notice fixes from filosofo and Viper007Bond. see #7509

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category.php

    r9080 r9506  
    278278    $tags = get_terms( 'post_tag', $args );
    279279
    280     if ( empty( $tags ) )
    281         return array();
     280    if ( empty( $tags ) ) {
     281        $return = array();
     282        return $return;
     283    }
    282284
    283285    $tags = apply_filters( 'get_tags', $tags, $args );
Note: See TracChangeset for help on using the changeset viewer.