Make WordPress Core

Opened 9 years ago

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


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 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @rob1n
9 years ago

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

Looks good.

#2 @rob1n
9 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.