Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4621 closed defect (bug) (fixed)

Error in wp_generate_tag_cloud when using DESC order

Reported by: bgracewood Owned by: anonymous
Priority: normal Milestone: 2.3
Component: General Version:
Severity: normal Keywords:
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 (2)

comment:1   ryan6 years ago

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

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

comment:2   ryan6 years ago

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

Note: See TracTickets for help on using tickets.