Commit b035a2c99ca for woocommerce
commit b035a2c99cafd296c465660df100434a920473a5
Author: Chris Lilitsas <1105590+xristos3490@users.noreply.github.com>
Date: Thu Oct 15 19:22:29 2026 +0300
Add the missing space between sentences in the stock notification email footers (#69812)
fix: add the missing space between sentences in stock notification email footers
The footer echoed the sign-up sentence and the manage/unsubscribe sentence back to back in one PHP block, rendering "on our store.To manage". Echo a space between them and bump the template versions to 11.3.0.
diff --git a/plugins/woocommerce/changelog/fix-wooplug-7925-bis-email-footer-space b/plugins/woocommerce/changelog/fix-wooplug-7925-bis-email-footer-space
new file mode 100644
index 00000000000..c500cae5908
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-wooplug-7925-bis-email-footer-space
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Add the missing space between sentences in the footer of back-in-stock notification emails.
diff --git a/plugins/woocommerce/templates/emails/customer-stock-notification-verified.php b/plugins/woocommerce/templates/emails/customer-stock-notification-verified.php
index 278a5a1a831..202cb47d65e 100644
--- a/plugins/woocommerce/templates/emails/customer-stock-notification-verified.php
+++ b/plugins/woocommerce/templates/emails/customer-stock-notification-verified.php
@@ -12,7 +12,7 @@
*
* @see https://woocommerce.com/document/template-structure/
* @package WooCommerce\Templates\Emails
- * @version 10.8.0
+ * @version 11.3.0
*/
// Exit if accessed directly.
@@ -56,6 +56,7 @@ do_action( 'woocommerce_email_header', $email_heading, $email );
<table id="notification__footer"><tr><td>
<?php
esc_html_e( 'You have received this message because your e-mail address was used to sign up for stock notifications on our store.', 'woocommerce' );
+ echo ' ';
if ( ! $is_guest ) {
// translators: %1$s placeholder is the unsubscribe link, %2$s placeholder is the Unsubscribe text link.
diff --git a/plugins/woocommerce/templates/emails/customer-stock-notification.php b/plugins/woocommerce/templates/emails/customer-stock-notification.php
index acfd0a3d4e1..a97c061c2ba 100644
--- a/plugins/woocommerce/templates/emails/customer-stock-notification.php
+++ b/plugins/woocommerce/templates/emails/customer-stock-notification.php
@@ -12,7 +12,7 @@
*
* @see https://woocommerce.com/document/template-structure/
* @package WooCommerce\Templates\Emails
- * @version 10.2.0
+ * @version 11.3.0
*/
// Exit if accessed directly.
@@ -61,6 +61,7 @@ do_action( 'woocommerce_email_header', $email_heading, $email );
<?php
echo esc_html( __( 'You have received this message because your e-mail address was used to sign up for stock notifications on our store.', 'woocommerce' ) );
+ echo ' ';
if ( ! $is_guest ) {
// translators: %1$s placeholder is the unsubscribe link, %2$s placeholder is the Unsubscribe text link.