From e2c8f3ec0d921d162c229823c5a310e9d106e1e2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 28 Aug 2015 15:28:06 +0000 Subject: [PATCH] Docs: Add a changelog entry to the `pre_set_transient_$transient` hook doc for the `$transient` parameter, added in [33738]. See #28402. git-svn-id: https://develop.svn.wordpress.org/trunk@33784 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/option.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index eb12679691..03bc1aab2f 100644 --- a/src/wp-includes/option.php +++ b/src/wp-includes/option.php @@ -686,7 +686,8 @@ function set_transient( $transient, $value, $expiration = 0 ) { * The dynamic portion of the hook name, `$transient`, refers to the transient name. * * @since 3.0.0 - * @since 4.2.0 Added `$expiration` parameter. + * @since 4.2.0 The `$expiration` parameter was added. + * @since 4.4.0 The `$transient` parameter was added. * * @param mixed $value New value of transient. * @param int $expiration Time until expiration in seconds.