[wp-trac] Re: [WordPress Trac] #5155: wp_tag_cloud('format=array') does not return array

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 8 06:19:13 GMT 2007


#5155: wp_tag_cloud('format=array') does not return array
------------------------------------+---------------------------------------
 Reporter:  andrewflanagan          |        Owner:  ryan
     Type:  defect                  |       Status:  new 
 Priority:  low                     |    Milestone:  2.4 
Component:  General                 |      Version:  2.3 
 Severity:  minor                   |   Resolution:      
 Keywords:  tags, tag cloud, array  |  
------------------------------------+---------------------------------------
Comment (by westi):

 Replying to [comment:5 Otto42]:
 > Why would you want to apply the wp_tag_cloud filters to an array?
 >
 > Just wondering. Seems unlikely to me that any filters will be written to
 handle arrays properly there.

 I think we should always give the chance for a plugin to filter the
 output.

 The plugin gets the $args string as a second argument to the filter call
 so it should be checking what it is getting before filtering anyway -
 otherwise it could break the output already if it applies filtering for
 flat displays to lists.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5155#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list