Opened 14 years ago
Closed 14 years ago
#19049 closed defect (bug) (invalid)
wp_tag_cloud() not returning values
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.3 |
| Component: | Template | Keywords: | has-patch |
| Focuses: | Cc: |
Description
wp_tag_cloud() is not returning values when echo=false argument is used.
Attachments (1)
Change History (2)
#1
@
14 years 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.