From 8391f9f0b3f3a3771a626eb00255d630571fe4e1 Mon Sep 17 00:00:00 2001 From: Andrzej Piotrowski Date: Thu, 15 Jun 2023 17:43:30 +0200 Subject: [PATCH] correct typo in class-edd-notices.php --- includes/admin/class-edd-notices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/admin/class-edd-notices.php b/includes/admin/class-edd-notices.php index 7d83b98772..b8d813d2dd 100644 --- a/includes/admin/class-edd-notices.php +++ b/includes/admin/class-edd-notices.php @@ -326,7 +326,7 @@ private function add_system_notices() { 'message' => array( sprintf( __( 'The files in %s are not currently protected.', 'easy-digital-downloads' ), '' . $upload_directory . '' ), __( 'To protect them, you must add this NGINX redirect rule.', 'easy-digital-downloads' ), - sprintf( __( 'If you have already done this, or it does not apply to your site, you may permenently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ) + sprintf( __( 'If you have already done this, or it does not apply to your site, you may permanently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ) ) ) ); } @@ -345,7 +345,7 @@ private function add_system_notices() { 'message' => array( sprintf( __( 'The .htaccess file is missing from: %s', 'easy-digital-downloads' ), '' . $upload_directory . '' ), sprintf( __( 'First, please resave the Misc settings tab a few times. If this warning continues to appear, create a file called ".htaccess" in the %s directory, and copy the following into it:', 'easy-digital-downloads' ), '' . $upload_directory . '' ), - sprintf( __( 'If you have already done this, or it does not apply to your site, you may permenently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ), + sprintf( __( 'If you have already done this, or it does not apply to your site, you may permanently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ), '
' . edd_get_htaccess_rules() . '
' ) ) );