Changeset 28676
- Timestamp:
- 06/05/2014 03:33:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r27815 r28676 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 value555 * will be false.554 * If the transient does not exist, does not have a value, or has expired, 555 * then the return value will be false. 556 556 * 557 557 * @since 2.8.0 558 558 * 559 * @param string $transient Transient name. Expected to not be SQL-escaped 560 * @return mixed Value of transient 559 * @param string $transient Transient name. Expected to not be SQL-escaped. 560 * @return mixed Value of transient. 561 561 */ 562 562 function get_transient( $transient ) { … … 1288 1288 * Get the value of a site transient. 1289 1289 * 1290 * If the transient does not exist or does not have a value, then the return value1291 * will be false.1290 * If the transient does not exist, does not have a value, or has expired, 1291 * then the return value will be false. 1292 1292 * 1293 1293 * @since 2.9.0 … … 1296 1296 * 1297 1297 * @param string $transient Transient name. Expected to not be SQL-escaped. 1298 * @return mixed Value of transient 1298 * @return mixed Value of transient. 1299 1299 */ 1300 1300 function get_site_transient( $transient ) {
Note: See TracChangeset
for help on using the changeset viewer.