[wp-trac] Re: [WordPress Trac] #5155: wp_tag_cloud('format=array')
does not return array
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 6 20:37:02 GMT 2007
#5155: wp_tag_cloud('format=array') does not return array
------------------------------------+---------------------------------------
Reporter: andrewflanagan | Owner: ryan
Type: defect | Status: new
Priority: low | Milestone: 2.3.1
Component: General | Version: 2.3
Severity: minor | Resolution:
Keywords: tags, tag cloud, array |
------------------------------------+---------------------------------------
Changes (by westi):
* owner: anonymous => ryan
Comment:
I think wp_tag_cloud is only designed to print out the tag cloud either as
a flat list or with UL's. The array format that wp_generate_tag_cloud
supports should only be used in calls to wp_generate_tag_cloud which does
return the array.
This is an array of html links for the tags.
I think if anything you are calling wp_tag_cloud incorrectly.
Assigning to ryan for more input on this.
--
Ticket URL: <http://trac.wordpress.org/ticket/5155#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list