Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 3 years ago

#4621 closed defect (bug) (fixed)

Error in wp_generate_tag_cloud when using DESC order

Reported by: bgracewood's profile bgracewood Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

In wp_generate_tag_cloud within category_template.php we have:

if ( 'DESC' == $order )

$counts = array_reverse( $tag_counts, true );

$tag_counts is incorrect. This should read

if ( 'DESC' == $order )

$counts = array_reverse( $counts, true );

Change History (3)

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5797]) Fix variable name. Props bgracewood. fixes #4621

#2 @ryan
16 years ago

Oops, accidentally checked in some #4620 bits on this ticket. Ignore them.

#3 @carike
3 years ago

#49253 was marked as a duplicate.

Note: See TracTickets for help on using tickets.