[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
Sun Sep 30 12:53:21 UTC 2018
#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: 4.9.9
Component: Comments | Version: 4.9.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: privacy
--------------------------+----------------------
Comment (by pputzer):
Replying to [comment:9 dhavalkasvala]:
> I think you say like cookies consent checkbox is not appear with status
right?
I'm saying that semantically the option check should be moved to the
definition of `$cookie_consent`:
`$cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) || !
get_option( 'show_comments_cookies_opt_in' ) );`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44736#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list