Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#17213 closed defect (bug) (fixed)

Notices in wp_tag_cloud

Reported by: greuben's profile greuben Owned by: ryan's profile ryan
Milestone: 3.2 Priority: normal
Severity: minor Version:
Component: General Keywords: has-patch commit
Focuses: Cc:

Description

Notices are thrown if an invalid taxonomy is passed to wp_tag_cloud

Attachments (1)

17213.diff (503 bytes) - added by greuben 13 years ago.

Download all attachments as: .zip

Change History (5)

@greuben
13 years ago

#1 @nacin
13 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.2

Looks good. get_terms() can return WP_Error('invalid_taxonomy').

#2 @azaozz
13 years ago

+1. Looks very obvious and shouldn't affect (break) anything else.

#4 @ryan
13 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [18326]:

Fix notice in wp_tag_cloud. Props greuben. fixes #17213

Note: See TracTickets for help on using tickets.