You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -316,7 +316,7 @@ public function display_settings_page() {
316
316
publicfunctionadmin_notices() {
317
317
switch ( filter_input( INPUT_GET, 'message' ) ) {
318
318
case'data_erased':
319
-
printf( '<div class="updated"><p>%s</p></div>', __( 'All activities have been successfully deleted.', 'aryo-activity-log' ) );
319
+
printf( '<div class="updated"><p>%s</p></div>', esc_html__( 'All activities have been successfully deleted.', 'aryo-activity-log' ) );
320
320
break;
321
321
}
322
322
}
@@ -327,7 +327,7 @@ public function admin_footer() {
327
327
<script type="text/javascript">
328
328
jQuery( document ).ready( function( $ ) {
329
329
$( '#aal-delete-log-activities' ).on( 'click', function( e ) {
330
-
if ( ! confirm( '<?phpecho__( 'Attention: We are going to DELETE ALL ACTIVITIES from the database. Are you sure you want to do that?', 'aryo-activity-log' ); ?>' ) ) {
330
+
if ( ! confirm( '<?phpechoesc_js( __( 'Attention: We are going to DELETE ALL ACTIVITIES from the database. Are you sure you want to do that?', 'aryo-activity-log' ) ); ?>' ) ) {
331
331
e.preventDefault();
332
332
}
333
333
} );
@@ -338,7 +338,7 @@ public function admin_footer() {
<p><?php_e( 'Serve yourself with custom-tailored notifications. First, define your conditions. Then, choose how the notifications will be sent.', 'aryo-activity-log' ); ?></p>
404
+
<p><?phpesc_html_e( 'Serve yourself with custom-tailored notifications. First, define your conditions. Then, choose how the notifications will be sent.', 'aryo-activity-log' ); ?></p>
405
405
<?php
406
406
}
407
407
@@ -426,7 +426,7 @@ public static function text_field( $args ) {
<p class="description"><?php_e( 'A notification will be sent upon a successful match with the following conditions:', 'aryo-activity-log' ); ?></p>
538
+
<p class="description"><?phpesc_html_e( 'A notification will be sent upon a successful match with the following conditions:', 'aryo-activity-log' ); ?></p>
539
539
<div class="aal-notifier-settings">
540
540
<ul>
541
541
<?phpforeach ( $rowsas$rid => $row ) :
@@ -560,7 +560,7 @@ public static function email_notification_buffer_field( $args ) {
0 commit comments