#1449 closed defect (bug) (fixed)
wp_list_cats() doesn't return correct value
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.0.6 | Priority: | normal |
Severity: | normal | Version: | 1.5.1.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
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)
Note: See
TracTickets for help on using
tickets.
(In [2655]) Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449