Opened 5 years ago
Closed 5 years ago
#2911 closed task (invalid)
woocommerce-product-stock-alert: email heading errors due to missing parameter
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | lowest | Severity: | trivial |
| Plugin: | not-listed | Keywords: | |
| Cc: |
Description
Omitting the second parameter creates server errors when other plugins/themes use the woocommerce_email_header action hook correctly with 2 parameters.
As shown in the Woocommerce templates use:
<?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
in:
- woocommerce-product-stock-alert/templates/emails/stock_alert_admin_email.php
- woocommerce-product-stock-alert/templates/emails/stock_alert_email.php
- woocommerce-product-stock-alert/templates/emails/stock_alert_email_subscriber_confirmation.php
Change History (2)
Note: See
TracTickets for help on using
tickets.