Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#17213 closed defect (bug) (fixed)

Notices in wp_tag_cloud

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


Notices are thrown if an invalid taxonomy is passed to wp_tag_cloud

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

7 years ago

#1 @nacin
7 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
7 years ago

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

#3 @ryan
7 years ago


#4 @ryan
7 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.