Make WordPress Core


Ignore:
Timestamp:
05/02/2009 06:43:04 PM (15 years ago)
Author:
ryan
Message:

Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593

File:
1 edited

Legend:

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

    r11109 r11158  
    600600        'format' => 'flat', 'orderby' => 'name', 'order' => 'ASC',
    601601        'topic_count_text_callback' => 'default_topic_count_text',
     602        'filter' => 1,
    602603    );
    603604
     
    681682    endswitch;
    682683
    683     return apply_filters( 'wp_generate_tag_cloud', $return, $tags, $args );
     684    if ( $filter )
     685        return apply_filters( 'wp_generate_tag_cloud', $return, $tags, $args );
     686    else
     687        return $return;
    684688}
    685689
Note: See TracChangeset for help on using the changeset viewer.