WordPress.org

Make WordPress Core

Ticket #20439: patch.diff

File patch.diff, 616 bytes (added by bananastalktome, 6 years ago)
  • wp-includes/functions.php

     
    34483448}
    34493449
    34503450/**
     3451 * Returns 1.
     3452 *
     3453 * Useful for returning 1 to filters easily.
     3454 *
     3455 * @since 3.4.0
     3456 * @return int 1
     3457 */
     3458function __return_one() {
     3459        return 1;
     3460}
     3461
     3462/**
    34513463 * Returns an empty array.
    34523464 *
    34533465 * Useful for returning an empty array to filters easily.
     
    34723484        return null;
    34733485}
    34743486
     3487
     3488
    34753489/**
    34763490 * Send a HTTP header to disable content type sniffing in browsers which support it.
    34773491 *