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:
parent
d23e0a556c
commit
9d5ce494e4
@ -1217,7 +1217,8 @@ function register_default_headers( $headers ) {
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @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 ) {
|
||||
global $_wp_default_headers;
|
||||
|
Loading…
Reference in New Issue
Block a user