WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#4056 closed defect (bug) (fixed)

wp_insert_category: add an exit hook

Reported by: kevinB Owned by: rob1n
Milestone: 2.2 Priority: low
Severity: normal Version:
Component: Administration Keywords: has-patch commit
Focuses: Cc:

Description

I'm writing a plugin which needs to perform an operation after clean_category_cache calls. All other calling functions have sufficient hooks.

This new hook will upgrade wp_insert_category to the API standards of its peers.

Attachments (1)

admin~admin-db.php.diff (349 bytes) - added by kevinB 8 years ago.

Download all attachments as: .zip

Change History (3)

@kevinB8 years ago

comment:1 @rob1n8 years ago

  • Keywords has-patch commit added
  • Owner changed from anonymous to rob1n

Looks good.

comment:2 @rob1n8 years ago

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

(In [5157]) Add exit hooks to wp_insert_category(). Props kevinB. fixes #4056

Note: See TracTickets for help on using tickets.