Ticket #28462: get_transient.patch
File get_transient.patch, 717 bytes (added by , 11 years ago) |
---|
-
htdocs/wp-includes/option.php
551 551 /** 552 552 * Get the value of a transient. 553 553 * 554 * If the transient does not exist or does not have a value, then the return value554 * If the transient does not exist, does not have a value, or has expired, then the return value 555 555 * will be false. 556 556 * 557 557 * @since 2.8.0 558 558 * 559 559 * @param string $transient Transient name. Expected to not be SQL-escaped 560 * @return mixed Value of transient560 * @return mixed False or Value of transient 561 561 */ 562 562 function get_transient( $transient ) {