diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-06-08 10:09:24 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-06-08 10:09:24 -0400 |
commit | a6b006c0f1ef757f23375f7906193370337d8bd7 (patch) | |
tree | 4467c6423b2c54e6ef8c3e79241a833fb17833a5 /plugins/jetpack/modules/widgets/eu-cookie-law/widget.php | |
parent | Update akismet 4.0.7 (diff) | |
download | blogs-gentoo-a6b006c0f1ef757f23375f7906193370337d8bd7.tar.gz blogs-gentoo-a6b006c0f1ef757f23375f7906193370337d8bd7.tar.bz2 blogs-gentoo-a6b006c0f1ef757f23375f7906193370337d8bd7.zip |
Update jetpack 6.2
Diffstat (limited to 'plugins/jetpack/modules/widgets/eu-cookie-law/widget.php')
-rw-r--r-- | plugins/jetpack/modules/widgets/eu-cookie-law/widget.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php b/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php index c45edfee..cd016a3e 100644 --- a/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php +++ b/plugins/jetpack/modules/widgets/eu-cookie-law/widget.php @@ -1,7 +1,7 @@ <div - class="<?php echo 'negative' === $instance['color-scheme'] ? 'negative ' : ''; - ?>hide-on-<?php echo esc_attr( $instance['hide'] ); ?>" + class="<?php echo implode( ' ', $classes ); ?>" data-hide-timeout="<?php echo intval( $instance['hide-timeout'] ); ?>" + data-consent-expiration="<?php echo intval( $instance['consent-expiration'] ); ?>" id="eu-cookie-law" > <form method="post"> @@ -9,13 +9,9 @@ </form> <?php if ( 'default' == $instance['text'] || empty( $instance['customtext'] ) ) { - echo $instance['default-text']; - ?> - <br /> - <?php - esc_html_e( 'To find out more, as well as how to remove or block these, see here:', 'jetpack' ); + echo nl2br( $instance['default-text'] ); } else { - echo esc_html( $instance['customtext'] ); + echo nl2br( esc_html( $instance['customtext'] ) ); } ?> <a href="<?php |