WordPress.org

Make WordPress Core

Ticket #36902: 36902.diff

File 36902.diff, 521 bytes (added by Compute, 3 years ago)
  • wp-includes/functions.php

    diff --git a/wp-includes/functions.php b/wp-includes/functions.php
    index 7710ab3..04c8765 100644
    a b function __return_empty_string() { 
    47014701}
    47024702
    47034703/**
     4704 * Returns 'on'.
     4705 *
     4706 * Useful for returning an option for a checked checkbox.
     4707 *
     4708 * @since 4.6
     4709 *
     4710 * @return string 'on'.
     4711 */
     4712function __return_on() {
     4713        return 'on';
     4714}
     4715
     4716/**
    47044717 * Send a HTTP header to disable content type sniffing in browsers which support it.
    47054718 *
    47064719 * @since 3.0.0