Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#10750 closed enhancement (fixed)

Add more actions around add/delete/update DB ops

Reported by: ryan's profile ryan Owned by: westi's profile westi
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: Plugins Keywords: has-patch
Focuses: Cc:

Description

Add more actions around add/delete/update DB ops. delete, deleted, update, updated, add, added, etc.

Attachments (1)

wporg-post-user-plugin-hooks.diff (4.7 KB) - added by ryan 15 years ago.
First pass, from Demitrious Kelly

Download all attachments as: .zip

Change History (8)

@ryan
15 years ago

First pass, from Demitrious Kelly

#1 @westi
15 years ago

  • Cc westi added

Sounds like an interesting idea.

Can we do for ___ing and ___ed e.g. deleting_post_meta and deleted_post_meta

So if I want to hook into before I use ing and after it's ed.

This still allows for the delete_post_meta name to be used for something more generic to the function.

#2 @scribu
15 years ago

  • Keywords has-patch added

#3 @scribu
15 years ago

  • Type changed from defect (bug) to enhancement

#4 @ryan
15 years ago

We already do delete and deleted elsewhere. We might have to stick with that so we don't have to go -ing everything for consistency.

#6 @automattor
15 years ago

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

(In [11941]) Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750

#7 @ryan
15 years ago

(In [11968]) Actions for postmeta updates. Props Demitrious Kelly. see #10750

Note: See TracTickets for help on using tickets.