- Timestamp:
- 06/13/2024 01:03:15 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r57648 r58401 558 558 * 559 559 * @since 2.8.0 560 * 561 * @param int $seconds Comment cookie lifetime. Default 30000000. 562 */ 563 $comment_cookie_lifetime = time() + apply_filters( 'comment_cookie_lifetime', 30000000 ); 560 * @since 6.6.0 The default $seconds value changed from 30000000 to YEAR_IN_SECONDS. 561 * 562 * @param int $seconds Comment cookie lifetime. Default YEAR_IN_SECONDS. 563 */ 564 $comment_cookie_lifetime = time() + apply_filters( 'comment_cookie_lifetime', YEAR_IN_SECONDS ); 564 565 565 566 $secure = ( 'https' === parse_url( home_url(), PHP_URL_SCHEME ) );
Note: See TracChangeset
for help on using the changeset viewer.