Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4621 closed defect (bug) (fixed)

Error in wp_generate_tag_cloud when using DESC order

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


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 (2)

#1 @ryan
8 years ago

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

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

#2 @ryan
8 years ago

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

Note: See TracTickets for help on using tickets.