Ticket #4621 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Error in wp_generate_tag_cloud when using DESC order

Reported by: bgracewood Assigned to: 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

07/12/07 16:00:52 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

07/12/07 16:02:38 changed by ryan

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