[wp-trac] [WordPress Trac] #44736: Comment cookies are completely disabled when "Show comments cookies opt-in checkbox" is not enabled

WordPress Trac noreply at wordpress.org
Mon Jan 14 18:57:28 UTC 2019


#44736: Comment cookies are completely disabled when "Show comments cookies opt-in
checkbox" is not enabled
-------------------------------------+----------------------
 Reporter:  pputzer                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.1
Component:  Comments                 |     Version:  4.9.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  privacy
-------------------------------------+----------------------

Comment (by dhavalkasvala):

 {{{#!php
 <?php
 $cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) || !
 get_option( 'show_comments_cookies_opt_in' ) );
 }}}
 @pputzer now i understand what you what do your code working fine. Can i
 need to patch for it again?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44736#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list