[wp-trac] [WordPress Trac] #1449: wp_list_cats() doesn't return correct value
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 22 16:23:35 UTC 2009
#1449: wp_list_cats() doesn't return correct value
--------------------------+-------------------------------------------------
Reporter: edavis | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.0.6
Component: General | Version: 1.5.1.2
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):
* milestone: Unassigned => 2.0.6
Old description:
> 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()...
New description:
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()...
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/1449#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list