[MAILPOET-2887]
This commit is contained in:
Pavel Dohnal
2020-05-28 08:37:56 +02:00
committed by Veljko V
parent e69188c5a0
commit 93e574da4e
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ use MailPoet\Newsletter\Renderer\Blocks\Renderer as BlocksRenderer;
use MailPoet\WooCommerce\TransactionalEmails;
class Preprocessor {
const WC_HEADING_PLACEHOLDER = '[mailpet_woocommerce_heading_placeholder]';
const WC_CONTENT_PLACEHOLDER = '[mailpet_woocommerce_content_placeholder]';
const WC_HEADING_PLACEHOLDER = '[mailpoet_woocommerce_heading_placeholder]';
const WC_CONTENT_PLACEHOLDER = '[mailpoet_woocommerce_content_placeholder]';
const WC_HEADING_BEFORE = '
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-spacing:0;mso-table-lspace:0;mso-table-rspace:0">

View File

@ -31,7 +31,7 @@ class PreprocessorTest extends \MailPoetUnitTest {
'blocks' => [
[
'type' => 'text',
'text' => Preprocessor::WC_HEADING_BEFORE . '<h1 style="color:{base_text_color};">[mailpet_woocommerce_heading_placeholder]</h1>' . Preprocessor::WC_HEADING_AFTER,
'text' => Preprocessor::WC_HEADING_BEFORE . '<h1 style="color:{base_text_color};">[mailpoet_woocommerce_heading_placeholder]</h1>' . Preprocessor::WC_HEADING_AFTER,
],
],
],
@ -56,7 +56,7 @@ class PreprocessorTest extends \MailPoetUnitTest {
'blocks' => [
[
'type' => 'text',
'text' => '[mailpet_woocommerce_content_placeholder]',
'text' => '[mailpoet_woocommerce_content_placeholder]',
],
],
],