Ticket #5155: 5155.improved.diff
File 5155.improved.diff, 696 bytes (added by , 17 years ago) |
---|
-
wp-includes/category-template.php
323 323 $return = wp_generate_tag_cloud( $tags, $args ); // Here's where those top tags get sorted according to $args 324 324 if ( is_wp_error( $return ) ) 325 325 return false; 326 else 327 echo apply_filters( 'wp_tag_cloud', $return, $args ); 326 else 327 { 328 $return = apply_filters( 'wp_tag_cloud', $return, $args ); 329 if ( 'array' == $args['format'] ) 330 { 331 return $return; 332 } 333 else 334 { 335 echo $return; 336 } 337 } 328 338 } 329 339 330 340 // $tags = prefetched tag array ( get_tags() )