Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions includes/Admin/Reports/ReportEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function receiver_email_address( $email = '' ) {
*/
public function email_subject() {
$site_name = get_bloginfo( 'name' );
$subject = __( "Weekly Engagement Summary of ‘{$site_name}’", 'notificationx' );
$subject = sprintf( __( 'Weekly Engagement Summary of “%s”', 'notificationx' ), $site_name );
if( isset( $this->settings['reporting_subject'] ) && ! empty( $this->settings['reporting_subject'] ) ) {
$subject = stripcslashes( $this->settings['reporting_subject'] );
}
Expand Down Expand Up @@ -337,4 +337,4 @@ public function send_email_weekly( $frequency = 'nx_weekly', $test = false, $ema
public function mail_report_deactivation( $clear_hook = 'weekly_email_reporting' ) {
wp_clear_scheduled_hook( $clear_hook );
}
}
}