From bdeb1dee29de043120a8d71a28317894d41234e8 Mon Sep 17 00:00:00 2001 From: Timi Wahalahti Date: Thu, 21 Sep 2023 15:20:27 +0300 Subject: [PATCH] phpcs second time --- .../plugins/camptix-attendance/addons/attendance.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/wp-content/plugins/camptix-attendance/addons/attendance.php b/public_html/wp-content/plugins/camptix-attendance/addons/attendance.php index 6869e93e9..db699fa4f 100644 --- a/public_html/wp-content/plugins/camptix-attendance/addons/attendance.php +++ b/public_html/wp-content/plugins/camptix-attendance/addons/attendance.php @@ -356,9 +356,9 @@ public function field_secret() {

secret_generated ) ) { - printf( esc_html__( 'Link will expire automatically after two weeks from generating it.', 'wordcamporg' ), $this->secret_expiry ); + echo esc_html( sprintf( _( 'Link will expire automatically after two weeks from generating it.', 'wordcamporg' ), $this->secret_expiry ) ); } else { - printf( esc_html__( 'Link will expire automatically on %s.', 'wordcamporg' ), wp_date( 'Y-m-d H:i:s', strtotime( "+{$this->secret_expiry}", strtotime( $this->secret_generated ) ) ) ); + echo esc_html( sprintf( _( 'Link will expire automatically on %s.', 'wordcamporg' ), wp_date( 'Y-m-d H:i:s', strtotime( "+{$this->secret_expiry}", strtotime( $this->secret_generated ) ) ) ) ); } ?>