From c9ce3b52b9524dfe03b7371c1858cca9bbd69b4c Mon Sep 17 00:00:00 2001 From: Brent Shepherd Date: Tue, 7 Jan 2014 16:16:31 -0800 Subject: [PATCH] Fix parse error Full error: "PHP Parse error: syntax error, unexpected ''/&[^&;]+;/i'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in abstract-wc-email.php on line 94 --- includes/abstracts/abstract-wc-email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/abstracts/abstract-wc-email.php b/includes/abstracts/abstract-wc-email.php index 71e4aa3c0fb..e193ced0b0f 100644 --- a/includes/abstracts/abstract-wc-email.php +++ b/includes/abstracts/abstract-wc-email.php @@ -90,7 +90,7 @@ abstract class WC_Email extends WC_Settings_API { '/&(bull|#149|#8226);/i', // Bullet '/&(pound|#163);/i', // Pound sign '/&(euro|#8364);/i', // Euro sign - '/$/' // Dollar sign + '/$/', // Dollar sign '/&[^&;]+;/i', // Unknown/unhandled entities '/[ ]{2,}/' // Runs of spaces, post-handling );