Make WordPress Core

Changeset 27575


Ignore:
Timestamp:
03/18/2014 12:11:39 AM (11 years ago)
Author:
nacin
Message:

Clarify that unregister_default_headers() returns void in some situations. fixes #21876.

File:
1 edited

Legend:

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

    r27434 r27575  
    12181218 *
    12191219 * @param string|array $header The header string id (key of array) to remove, or an array thereof.
    1220  * @return True on success, false on failure.
     1220 * @return bool|void A single header returns true on success, false on failure.
     1221 *                   There is currently no return value for multiple headers.
    12211222 */
    12221223function unregister_default_headers( $header ) {
Note: See TracChangeset for help on using the changeset viewer.