WordPress.org

Make WordPress Core

Ticket #31820: 31820.diff

File 31820.diff, 558 bytes (added by MikeHansenMe, 4 years ago)
  • src/wp-includes/option.php

     
    2222 *
    2323 * @param string $option  Name of option to retrieve. Expected to not be SQL-escaped.
    2424 * @param mixed  $default Optional. Default value to return if the option does not exist.
    25  * @return mixed Value set for the option.
     25 * @return string Value set for the option.
    2626 */
    2727function get_option( $option, $default = false ) {
    2828        global $wpdb;