Skip to content

Commit

Permalink
Fixes #2777 Update text formatting in Rocket Analytics modal (#3598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrisrp committed Feb 19, 2021
1 parent 7d66aa4 commit 35c1cd1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion views/settings/page.php
Expand Up @@ -73,7 +73,12 @@
<button class="wpr-Popin-close wpr-Popin-Analytics-close wpr-icon-close"></button>
</div>
<div class="wpr-Popin-content">
<p><?php esc_html_e( 'Below is a detailed view of all data WP Rocket will collect <strong>if granted permission.</strong>', 'rocket' ); ?></p>
<p>
<?php
// translators: %1$s = <strong>, %2$s = </strong>.
printf( esc_html__( 'Below is a detailed view of all data WP Rocket will collect %1$sif granted permission.%2$s', 'rocket' ), '<strong>', '</strong>' );
?>
</p>
<?php echo rocket_data_collection_preview_table(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view. ?>
<div class="wpr-Popin-flex">
<p><?php esc_html_e( 'WP Rocket will never transmit any domain names or email addresses (except for license validation), IP addresses, or third-party API keys.', 'rocket' ); ?></p>
Expand Down

0 comments on commit 35c1cd1

Please sign in to comment.