Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#10926 closed enhancement (fixed)

Add filter hook to delete_option in wp-includes/functions.php

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

Description

Hooks already exist in update_option and get_option functions.
It would be consistent (and useful) to add one in the delete option too.

Patch attached.

Attachments (1)

delete_option.patch.txt (475 bytes) - added by bboudreau 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @bboudreau
14 years ago

  • Cc bboudreau added
  • Summary changed from Add filter hook to delete_option in wp-incldues/functions.php to Add filter hook to delete_option in wp-includes/functions.php

#2 @scribu
14 years ago

  • Keywords has-patch added
  • Milestone changed from Unassigned to 2.9
  • Type changed from feature request to enhancement
  • Version set to 2.9

#3 @Denis-de-Bernardy
14 years ago

if this gets committed, we need the same for transients, etc.

#4 @ryan
14 years ago

  • Milestone changed from 2.9 to 3.0

#5 @Denis-de-Bernardy
13 years ago

  • Milestone changed from 3.0 to 2.9
  • Resolution set to fixed
  • Status changed from new to closed

delete_option was taken care of in WP 2.9. transients are over in #10788.

Note: See TracTickets for help on using tickets.