WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 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:

Description

Notices are thrown if an invalid taxonomy is passed to wp_tag_cloud

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

greuben3 years ago

comment:1 nacin3 years ago

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

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

comment:2 azaozz3 years ago

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

comment:3 ryan3 years ago

+1

comment:4 ryan3 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.