Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#11161 closed enhancement (duplicate)

delete_transient action

Reported by: donncha's profile donncha Owned by:
Milestone: Priority: high
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


Please add a "delete_transient_" action to the function delete_transient().

function delete_transient($transient) {
        global $_wp_using_ext_object_cache, $wpdb;

        do_action( 'delete_transient_' . $transient );

In WordPress MU it's used to override the upgrade variables for update_core, plugins and themes checking.

Change History (2)

#1 @donncha
15 years ago

Oops, forgot another one. MU has the following filter in set_transient():

$value = apply_filters( 'pre_set_transient_' . $transient, $value );

Again, for the same reasoning. One of the things to sort out before merging.

#2 @nacin
14 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

If this wasn't already in, I'm pretty sure it was, then it was handled in #10788.

Note: See TracTickets for help on using tickets.