Changeset 43469 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/17/2018 09:07:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r43370 r43469 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.