Changeset 43470 for branches/4.9/src/wp-includes/comment-template.php
- Timestamp:
- 07/17/2018 09:29:08 AM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/comment-template.php
r43449 r43470 2206 2206 ); 2207 2207 2208 if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) ) {2208 if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) && get_option( 'show_comments_cookies_opt_in' ) ) { 2209 2209 $consent = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"'; 2210 2210 $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.