Problem:
The previous adjustment displayed HTML code in the error message.
As we throw a PHP exception, the handler-code escaped the full string, rendering HTML useless. As a first solution, we removed the HTML code from the error string.
Side effect:
Since the message is now different from the original WooCommerce message, we cannot use their text domain for translation anymore.
Problem: The previous adjustment displayed HTML code in the error message.
As we throw a PHP exception, the handler-code escaped the full string, rendering HTML useless. As a first solution, we removed the HTML code from the error string.
Side effect: Since the message is now different from the original WooCommerce message, we cannot use their text domain for translation anymore.