Make WordPress Core

Ticket #40455: 40455.diff

File 40455.diff, 713 bytes (added by lukecavanagh, 8 years ago)

Basic patch

  • src/wp-includes/option.php

     
    16411641 * @see set_transient()
    16421642 *
    16431643 * @param string $transient  Transient name. Expected to not be SQL-escaped. Must be
    1644  *                           40 characters or fewer in length.
     1644 *                           167 characters or fewer in length.
    16451645 * @param mixed  $value      Transient value. Expected to not be SQL-escaped.
    16461646 * @param int    $expiration Optional. Time until expiration in seconds. Default 0 (no expiration).
    16471647 * @return bool False if value was not set and true if value was set.