Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#14173 closed enhancement (fixed)

updat(ed)_{$meta_type}_meta, added_{$meta_type}_meta, but no add_{$meta_type}_meta??

Reported by: mitchoyoshitaka's profile mitchoyoshitaka Owned by:
Milestone: 3.1 Priority: normal
Severity: trivial Version: 3.0
Component: General Keywords: has-patch needs-testing gsoc
Focuses: Cc:

Description

There are hooks for both update_{$meta_type}_meta and updated_{$meta_type}_meta, but add_metadata and delete_metadata only have the past tense, after-the-fact hooks. In other words, there's added_{$meta_type}_meta and deleted_{$meta_type}_meta, but no add_{$meta_type}_meta or delete_{$meta_type}_meta...

What gives? :/

Attachments (1)

14173.diff (755 bytes) - added by wojtek.szkutnik 14 years ago.

Download all attachments as: .zip

Change History (4)

#1 @nacin
14 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 3.1

+1.

#2 @wojtek.szkutnik
14 years ago

  • Cc wojtek.szkutnik@… added
  • Keywords has-patch needs-testing gsoc added; needs-patch removed

#3 @ryan
13 years ago

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

(In [15917]) Actions for adding and deleting meta. Props wojtek.szkutnik mitchoyoshitaka. fixes #14173

Note: See TracTickets for help on using tickets.