summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/widgets/eu-cookie-law/form.php')
-rw-r--r--plugins/jetpack/modules/widgets/eu-cookie-law/form.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/widgets/eu-cookie-law/form.php b/plugins/jetpack/modules/widgets/eu-cookie-law/form.php
index 7b00877b..d4f3bad2 100644
--- a/plugins/jetpack/modules/widgets/eu-cookie-law/form.php
+++ b/plugins/jetpack/modules/widgets/eu-cookie-law/form.php
@@ -1,3 +1,8 @@
+<?php
+
+use Automattic\Jetpack\Redirect;
+
+?>
<p>
<strong>
<?php esc_html_e( 'Banner text', 'jetpack' ); ?>
@@ -81,7 +86,7 @@
<strong><?php esc_html_e( 'Caution:', 'jetpack' ); ?></strong>
<?php echo sprintf(
__( 'For GDPR compliance, please make sure your policy contains <a href="%s" target="_blank">privacy information relating to Jetpack Ads</a>.', 'jetpack' ),
- esc_url( 'https://jetpack.com/support/ads/#privacy' )
+ esc_url( Redirect::get_url( 'jetpack-support-ads', array( 'anchor' => 'privacy' ) ) )
); ?>
</span>
</span>
@@ -271,7 +276,7 @@
<p class="small">
<?php esc_html_e( 'It is your own responsibility to ensure that your site complies with the relevant laws.', 'jetpack' ); ?>
- <a href="https://jetpack.com/support/extra-sidebar-widgets/eu-cookie-law-widget/">
+ <a href="<?php echo esc_url( Redirect::get_url( 'jetpack-support-extra-sidebar-widgets-eu-cookie-law-widget' ) ); ?>">
<?php esc_html_e( 'Click here for more information', 'jetpack' ); ?>
</a>
</p>