WordPress.org

Make WordPress Core

Ticket #13605: 13605.diff

File 13605.diff, 496 bytes (added by mitchoyoshitaka, 4 years ago)

Corrected diff

  • wp-admin/admin-ajax.php

     
    626626        } 
    627627 
    628628        // We need raw tag names here, so don't filter the output 
    629         $return = wp_generate_tag_cloud( $tags, array('filter' => 0) ); 
     629        $args = apply_filters('get_tagcloud_args',array('filter' => 0)); 
     630        $return = wp_generate_tag_cloud( $tags, $args ); 
    630631 
    631632        if ( empty($return) ) 
    632633                die('0');