From 165a53334a6c121c6af3313e0db27bb548ae489e Mon Sep 17 00:00:00 2001 From: Andrew Lima Date: Tue, 14 Jan 2025 11:10:05 +0200 Subject: [PATCH] Fix fatal error for PHP 5.6 * BUG FIX: Fixes a minor issue for PHP 5.6 with the admin activity email. --- classes/class-pmpro-admin-activity-email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/class-pmpro-admin-activity-email.php b/classes/class-pmpro-admin-activity-email.php index 969bf849d..026d737a8 100644 --- a/classes/class-pmpro-admin-activity-email.php +++ b/classes/class-pmpro-admin-activity-email.php @@ -233,7 +233,7 @@ public function sendAdminActivity( $frequency = '', $recipient = null ) { __( 'No Discount Codes were used %2$s.', 'paid-memberships-pro' ), 'style="color:#1A688B;" target="_blank" href="' . esc_url( admin_url( 'admin.php?page=pmpro-discountcodes' ) ) . '"', esc_html( $term ) - ), + ) ); ?>