Make WordPress Core

Changeset 25037


Ignore:
Timestamp:
08/16/2013 08:01:06 PM (11 years ago)
Author:
nacin
Message:

Add a function to return an empty string, for filters. props wpsmith, trepmal. fixes #20357.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r24995 r25037  
    36693669
    36703670/**
     3671 * Returns an empty string.
     3672 *
     3673 * Useful for returning an empty string to filters easily.
     3674 *
     3675 * @since 3.7.0
     3676 * @see __return_null()
     3677 * @return string Empty string
     3678 */
     3679function __return_empty_string() {
     3680    return '';
     3681}
     3682
     3683/**
    36713684 * Send a HTTP header to disable content type sniffing in browsers which support it.
    36723685 *
Note: See TracChangeset for help on using the changeset viewer.