diff --git a/changelog.md b/changelog.md index 082a2f0..ea4dc24 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,15 @@ # Changelog -## 2.0.1 - [November 20, 2025] +## 2.0.2 - [November 20, 2025] + +- Fixed: Interest Form has appropriate "Reply-To" header + +## 2.0.1 + +- Fixed: Linktree links used "stretched-link" pattern appropriately +- Fixed: Interest form sends emails + +## 2.0.0 - New Theme! diff --git a/inc/theme/class-rest-router.php b/inc/theme/class-rest-router.php index 746a7aa..96336b6 100644 --- a/inc/theme/class-rest-router.php +++ b/inc/theme/class-rest-router.php @@ -79,7 +79,7 @@ public function handle_interest_form( WP_REST_Request $request ): WP_REST_Respon $last_name = $request->get_param( 'lastName' ); $email = $request->get_param( 'email' ); $interest = $request->get_param( 'interest' ); - $client_success = wp_mail( $email, 'Interest Form Submission', "Hey {$first_name}, thanks for your interest in $interest! I'll be in touch soon." ); + $client_success = wp_mail( $email, 'Interest Form Submission', "Hey {$first_name}, thanks for your interest in $interest! I'll be in touch soon.", array( 'Reply-To' => 'hello@macrosbysara.com' ) ); $admin_success = wp_mail( 'hello@macrosbysara.com', 'Interest Form Submission', "{$first_name} {$last_name} ({$email}) is interested in {$interest}." ); $success = $client_success && $admin_success; $data = array( diff --git a/style.css b/style.css index c491e66..5f2caf0 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: https://github.com/macrosbysara/wordpress-theme Author: KJ Roelke Author URI: https://kjroelke.online Description: A WordPress Theme built for Macros By Sara site -Version: 2.0.1 +Version: 2.0.2 Requires at least: 6.7.0 Tested up to: 6.8.3 Requires PHP: 8.2