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

Built from https://develop.svn.wordpress.org/trunk@27575


git-svn-id: http://core.svn.wordpress.org/trunk@27418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-18 00:12:15 +00:00
parent 6197d52c73
commit e451a2def5

View File

@ -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;