From d68a189288bc6c64f678de5c0ca6244a3ab5d834 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 15 Apr 2017 09:27:22 +0000 Subject: [PATCH] Docs: Update the length limit in `set_site_transient()` docs after [34030]. Props lukecavanagh, jdgrimes. Fixes #40455. git-svn-id: https://develop.svn.wordpress.org/trunk@40432 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/option.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index d58ae6983f..8bc8edc932 100644 --- a/src/wp-includes/option.php +++ b/src/wp-includes/option.php @@ -1641,7 +1641,7 @@ function get_site_transient( $transient ) { * @see set_transient() * * @param string $transient Transient name. Expected to not be SQL-escaped. Must be - * 40 characters or fewer in length. + * 167 characters or fewer in length. * @param mixed $value Transient value. Expected to not be SQL-escaped. * @param int $expiration Optional. Time until expiration in seconds. Default 0 (no expiration). * @return bool False if value was not set and true if value was set.