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

git-svn-id: https://develop.svn.wordpress.org/trunk@27575 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-18 00:11:39 +00:00
parent d23e0a556c
commit 9d5ce494e4
1 changed files with 2 additions and 1 deletions

View File

@ -1217,7 +1217,8 @@ function register_default_headers( $headers ) {
* @since 3.0.0 * @since 3.0.0
* *
* @param string|array $header The header string id (key of array) to remove, or an array thereof. * @param string|array $header The header string id (key of array) to remove, or an array thereof.
* @return True on success, false on failure. * @return bool|void A single header returns true on success, false on failure.
* There is currently no return value for multiple headers.
*/ */
function unregister_default_headers( $header ) { function unregister_default_headers( $header ) {
global $_wp_default_headers; global $_wp_default_headers;