[wp-trac] [WordPress Trac] #19049: wp_tag_cloud() not returning values

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 26 02:51:24 UTC 2011


#19049: wp_tag_cloud() not returning values
--------------------------+----------------------
 Reporter:  ryanhellyer   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Template      |     Version:  3.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |
--------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Template
 * milestone:  Awaiting Review =>


Comment:

 `true||false` is only usable when you use array notation for calling
 template tags.

 When using the string form within template tags, you need to use a 0 for a
 false value. This is consistent with all other template tags. In your
 case, you're passing the string "false" which PHP reads as a true value.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19049#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list