[wp-trac] Re: [WordPress Trac] #9010: wp_tag_cloud() should not
echo if format='array'
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 2 12:00:26 GMT 2009
#9010: wp_tag_cloud() should not echo if format='array'
--------------------------+-------------------------------------------------
Reporter: scribu | Owner: anonymous
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.7
Severity: minor | Resolution: invalid
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by scribu):
* status: new => closed
* resolution: => invalid
* milestone: 2.7.1 =>
Comment:
Replying to [comment:2 azaozz]:
> Filosofo is right, if it's set as array in `$args`, it returns it before
getting to the echo anyways. Perhaps can add another arg there
> {{{
> if ( 'array' == $args['format'] || ( isset($args['return']) &&
$args['return'] ) )
> return $return;
> }}}
No, no need for an extra arg. My bad.
--
Ticket URL: <http://trac.wordpress.org/ticket/9010#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list