diff --git a/wp-includes/option.php b/wp-includes/option.php index 509ec44d6a..3c355e6685 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -515,8 +515,8 @@ function set_transient( $transient, $value, $expiration = 0 ) { } } if ( $result ) { - do_action( 'set_transient_' . $transient ); - do_action( 'setted_transient', $transient ); + do_action( 'set_transient_' . $transient, $value, $expiration ); + do_action( 'setted_transient', $transient, $value, $expiration ); } return $result; } @@ -1052,8 +1052,8 @@ function set_site_transient( $transient, $value, $expiration = 0 ) { } } if ( $result ) { - do_action( 'set_site_transient_' . $transient ); - do_action( 'setted_site_transient', $transient ); + do_action( 'set_site_transient_' . $transient, $value, $expiration ); + do_action( 'setted_site_transient', $transient, $value, $expiration ); } return $result; }