Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 14 years ago

#1449 closed defect (bug) (fixed)

wp_list_cats() doesn't return correct value

Reported by: edavis's profile edavis Owned by: ryan's profile ryan
Milestone: 2.0.6 Priority: normal
Severity: normal Version:
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
18 years ago

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

#2 @ryan
18 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)
17 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

#4 @Denis-de-Bernardy
14 years ago

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