Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Insights.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@

$notice .= ' (<a class="' . $this->client->slug . '-insights-data-we-collect" href="#">' . $this->client->__trans( 'what we collect' ) . '</a>)';
$notice .= '<p class="description" style="display:none;">' . implode( ', ', $this->data_we_collect() ) . '. ';
$notice .= 'We are using Appsero to collect your data. <a href="' . $policy_url . '" target="_blank">Learn more</a> &nearr;</p>';
$notice .= 'We are using <em>Appsero</em> to collect your data. <a href="' . $policy_url . '" target="_blank">Learn more</a> &#8599;</p>';

echo '<div class="updated"><p>';
echo wp_kses_post( $notice );
Expand Down Expand Up @@ -495,7 +495,7 @@
* @return bool
*/
private function is_optin_request() {
return isset( $_GET[ $this->client->slug . '_tracker_optin' ] ) && 'true' === $_GET[ $this->client->slug . '_tracker_optin' ];

Check warning on line 498 in src/Insights.php

View workflow job for this annotation

GitHub Actions / Run PHPCS inspection

Processing form data without nonce verification.

Check warning on line 498 in src/Insights.php

View workflow job for this annotation

GitHub Actions / Run PHPCS inspection

Processing form data without nonce verification.
}

/**
Expand All @@ -504,7 +504,7 @@
* @return bool
*/
private function is_optout_request() {
return isset( $_GET[ $this->client->slug . '_tracker_optout' ] ) && 'true' === $_GET[ $this->client->slug . '_tracker_optout' ];

Check warning on line 507 in src/Insights.php

View workflow job for this annotation

GitHub Actions / Run PHPCS inspection

Processing form data without nonce verification.

Check warning on line 507 in src/Insights.php

View workflow job for this annotation

GitHub Actions / Run PHPCS inspection

Processing form data without nonce verification.
}

/**
Expand Down Expand Up @@ -924,7 +924,7 @@
<p class="wd-dr-modal-reasons-bottom">
<?php
echo sprintf(
$this->client->__trans( 'We share your data with <a href="%1$s" target="_blank">Appsero</a> to troubleshoot problems &amp; make product improvements. <a href="%2$s" target="_blank">Learn more</a> &nearr;' ),
$this->client->__trans( 'We share your data with <a href="%1$s" target="_blank">Appsero</a> to troubleshoot problems &amp; make product improvements. <a href="%2$s" target="_blank">Learn more</a> &#8599;' ),
esc_url( 'https://appsero.com/' ),
esc_url( 'https://appsero.com/privacy-policy' )
);
Expand Down
Loading