Changeset 43531 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/24/2018 05:05:56 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r43525 r43531 2272 2272 ); 2273 2273 2274 if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) ) {2274 if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) && get_option( 'show_comments_cookies_opt_in' ) ) { 2275 2275 $consent = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"'; 2276 2276 $fields['cookies'] = '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' .
Note: See TracChangeset
for help on using the changeset viewer.