Opened 20 months ago
Closed 20 months ago
#19049 closed defect (bug) (invalid)
wp_tag_cloud() not returning values
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
wp_tag_cloud() is not returning values when echo=false argument is used.
Attachments (1)
Change History (2)
ryanhellyer
— 20 months ago
comment:1
dd32
— 20 months ago
- Component changed from General to Template
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
Allows wp_tag_cloud() to return value as intended.