Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 12 years ago

#1449 closed defect (bug) (fixed)

wp_list_cats() doesn't return correct value

Reported by: edavis Owned by: ryan
Milestone: 2.0.6 Priority: normal
Severity: normal Version: 1.5.1.2
Component: General Keywords:
Focuses: Cc:

Description (last modified by Denis-de-Bernardy)

wp_list_cats() doesn't return anything when the recurse argument set to
TRUE (meaning data is returned for use in PHP).

This is becuase there is the data from the call to list_cats() within
wp_list_cats() isn't being 'return'ed.

Simply add return before the call to list_cats()...

Change History (4)

#1 @ryan
17 years ago

  • Milestone set to 1.6
  • Owner changed from anonymous to ryan
  • Version changed from 1.5.2 to 1.5.1.2

#2 @ryan
17 years ago

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

(In [2655]) Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449

#3 @(none)
15 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

#4 @Denis-de-Bernardy
12 years ago

  • Description modified (diff)
  • Milestone changed from Unassigned to 2.0.6
Note: See TracTickets for help on using tickets.