WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#11429 closed defect (bug) (fixed)

create_term and edit_term hooks are missing an argument

Reported by: Denis-de-Bernardy Owned by: filosofo
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Taxonomy Keywords: has-patch
Focuses: Cc:

Description

There is no easy means to fetch a term without the taxonomy argument.

the delete_term hook passes it, but not the create_term or the edit_term hooks.

Attachments (1)

11429.diff (1.5 KB) - added by Denis-de-Bernardy 4 years ago.

Download all attachments as: .zip

Change History (2)

Denis-de-Bernardy4 years ago

comment:1 ryan4 years ago

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

(In [12397]) Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429

Note: See TracTickets for help on using tickets.