[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 21:09:16 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 |
------------------------------------+---------------------------------------
Comment (by Otto42):
No, I gotta agree with the ticket. wp_generate_tag_cloud requires an input
of tags from get_tags, which wp_tag_cloud does. Forcing them to use it
directly adds more potential for error and doesn't necessarily allow for
the result to always be the same data that wp_tag_cloud will create with
the same parameters. So allowing format to be 'array' should return the
array.
Anyway, it's an easy patch. Attached.
--
Ticket URL: <http://trac.wordpress.org/ticket/5155#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list