Make WordPress Core

Ticket #28462: get_transient.patch

File get_transient.patch, 717 bytes (added by ruud@…, 11 years ago)

Patch for inline documentation

  • htdocs/wp-includes/option.php

     
    551551/**
    552552 * Get the value of a transient.
    553553 *
    554  * If the transient does not exist or does not have a value, then the return value
     554 * If the transient does not exist, does not have a value, or has expired, then the return value
    555555 * will be false.
    556556 *
    557557 * @since 2.8.0
    558558 *
    559559 * @param string $transient Transient name. Expected to not be SQL-escaped
    560  * @return mixed Value of transient
     560 * @return mixed False or Value of transient
    561561 */
    562562function get_transient( $transient ) {