diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 5227262..df9de78 100644
a
|
b
|
if ( !function_exists('wp_generate_auth_cookie') ) : |
736 | 736 | * @since 2.5.0 |
737 | 737 | * |
738 | 738 | * @param int $user_id User ID |
739 | | * @param int $expiration Cookie expiration in seconds |
| 739 | * @param int $expiration Cookie expiration as a UNIX timestamp |
740 | 740 | * @param string $scheme Optional. The cookie scheme to use: auth, secure_auth, or logged_in |
741 | 741 | * @param string $token User's session token to use for this cookie |
742 | 742 | * @return string Authentication cookie contents. Empty string if user does not exist. |
… |
… |
function wp_generate_auth_cookie( $user_id, $expiration, $scheme = 'auth', $toke |
769 | 769 | * |
770 | 770 | * @param string $cookie Authentication cookie. |
771 | 771 | * @param int $user_id User ID. |
772 | | * @param int $expiration Authentication cookie expiration in seconds. |
| 772 | * @param int $expiration Authentication cookie expiration as a UNIX timestamp. |
773 | 773 | * @param string $scheme Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'. |
774 | 774 | * @param string $token User's session token used. |
775 | 775 | */ |
… |
… |
function wp_set_auth_cookie( $user_id, $remember = false, $secure = '', $token = |
916 | 916 | * @since 2.5.0 |
917 | 917 | * |
918 | 918 | * @param string $auth_cookie Authentication cookie. |
919 | | * @param int $expire Login grace period in seconds. Default 43,200 seconds, or 12 hours. |
920 | | * @param int $expiration Duration in seconds the authentication cookie should be valid. |
921 | | * Default 1,209,600 seconds, or 14 days. |
| 919 | * @param int $expire Login grace period as a UNIX timestamp for when it will expire. |
| 920 | * Use 0 for no grace period. |
| 921 | * @param int $expiration UNIX timestamp for when the authentication cookie should be valid until. |
| 922 | * Default 1,209,600 seconds from now, or 14 days from now. |
922 | 923 | * @param int $user_id User ID. |
923 | 924 | * @param string $scheme Authentication scheme. Values include 'auth', 'secure_auth', or 'logged_in'. |
924 | 925 | */ |
… |
… |
function wp_set_auth_cookie( $user_id, $remember = false, $secure = '', $token = |
930 | 931 | * @since 2.6.0 |
931 | 932 | * |
932 | 933 | * @param string $logged_in_cookie The logged-in cookie. |
933 | | * @param int $expire Login grace period in seconds. Default 43,200 seconds, or 12 hours. |
934 | | * @param int $expiration Duration in seconds the authentication cookie should be valid. |
935 | | * Default 1,209,600 seconds, or 14 days. |
| 934 | * @param int $expire Login grace period as a UNIX timestamp for when it will expire. |
| 935 | * Use 0 for no grace period. |
| 936 | * @param int $expiration UNIX timestamp for when the authentication cookie should be valid until. |
| 937 | * Default 1,209,600 seconds from now, or 14 days from now. |
936 | 938 | * @param int $user_id User ID. |
937 | 939 | * @param string $scheme Authentication scheme. Default 'logged_in'. |
938 | 940 | */ |