From c12d10d0b9fa51c211f987e4aee00df70af6e0d5 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Fri, 11 Jul 2014 19:23:25 +0000 Subject: [PATCH] Add missing filter doc, see [29043]. see #27627. git-svn-id: https://develop.svn.wordpress.org/trunk@29102 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index f134d5e6a2..1028e2df56 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -1892,6 +1892,7 @@ function wp_update_user($userdata) { // Here we calculate the expiration length of the current auth cookie and compare it to the default expiration. // If it's greater than this, then we know the user checked 'Remember Me' when they logged in. $logged_in_cookie = wp_parse_auth_cookie( '', 'logged_in' ); + /** This filter is documented in wp-includes/pluggable.php */ $default_cookie_life = apply_filters( 'auth_cookie_expiration', ( 2 * DAY_IN_SECONDS ), $ID, false ); $remember = ( ( $logged_in_cookie['expiration'] - time() ) > $default_cookie_life );