[wp-trac] [WordPress Trac] #24656: Tag Cloud generation return object for manipulation

WordPress Trac noreply at wordpress.org
Fri Jun 28 16:03:10 UTC 2013


#24656: Tag Cloud generation return object for manipulation
-------------------------+-----------------------------
 Reporter:  ysalame      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  trunk
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 "wp_generate_tag_cloud" and "wp_tag_cloud" functions in "/wp-includes
 /category-template.php" only return html or an array of html links as a
 result.

 To manipulate the result you must use filters which on certain cases are
 not the most efficient way to do it.

 I´ve attached a patch to include a new format in the args array as
 "object". This will create an object with enough data on it so that it can
 be manipulated accordingly.

 ps. first time submiter.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24656>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list