From 8336c882737b82b285d871ea348ed98ad0a2ba98 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 28 Aug 2015 15:24:49 +0000 Subject: [PATCH] Docs: Add a changelog entry to the `pre_transient_$transient` hook doc for the `$transient` parameter, introduced in [33738]. See #28402. git-svn-id: https://develop.svn.wordpress.org/trunk@33782 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/option.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index d7686d4682..7841c73973 100644 --- a/src/wp-includes/option.php +++ b/src/wp-includes/option.php @@ -614,6 +614,7 @@ function get_transient( $transient ) { * of the transient, returning the passed value instead. * * @since 2.8.0 + * @since 4.4.0 The `$transient` parameter was added * * @param mixed $pre_transient The default value to return if the transient does not exist. * Any value other than false will short-circuit the retrieval