From 44a5ef78d71b196a8617ce9ec954ef3b57e6a9df Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 10 Mar 2017 15:02:43 +0000 Subject: [PATCH] Docs: Remove the duplicate hook documentation for the newly introduced `send_auth_cookies` filter. See #39367 git-svn-id: https://develop.svn.wordpress.org/trunk@40264 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pluggable.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 61b809c542..0ed2609d40 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -933,13 +933,7 @@ function wp_clear_auth_cookie() { */ do_action( 'clear_auth_cookie' ); - /** - * Allows preventing auth cookies from actually being sent to the client. - * - * @since 4.7.4 - * - * @param bool $send Whether to send auth cookies to the client. - */ + /** This filter is documented in wp-includes/pluggable.php */ if ( ! apply_filters( 'send_auth_cookies', true ) ) { return; }