Make WordPress Core

Ticket #28467: set_transient.patch

File set_transient.patch, 1.2 KB (added by edwin-at-studiojoyo.com, 12 years ago)
  • htdocs/wp-includes/option.php

     
    620620 *
    621621 * @since 2.8.0
    622622 *
    623  * @param string $transient Transient name. Expected to not be SQL-escaped.
     623 * @param string $transient Transient name. Expected to not be SQL-escaped. Should be 45 characters or less in length.
    624624 * @param mixed $value Transient value. Must be serializable if non-scalar. Expected to not be SQL-escaped.
    625625 * @param int $expiration Time until expiration in seconds, default 0
    626626 * @return bool False if value was not set and true if value was set.
     
    13601360 *
    13611361 * @see set_transient()
    13621362 *
    1363  * @param string $transient Transient name. Expected to not be SQL-escaped.
     1363 * @param string $transient Transient name. Expected to not be SQL-escaped. Should be 40 characters or less in length.
    13641364 * @param mixed $value Transient value. Expected to not be SQL-escaped.
    13651365 * @param int $expiration Time until expiration in seconds, default 0
    13661366 * @return bool False if value was not set and true if value was set.