diff --git a/assets/js/src/newsletter_editor/blocks/header.js b/assets/js/src/newsletter_editor/blocks/header.js index c5a8678d12..7a9b6490ab 100644 --- a/assets/js/src/newsletter_editor/blocks/header.js +++ b/assets/js/src/newsletter_editor/blocks/header.js @@ -13,7 +13,7 @@ Module.HeaderBlockModel = base.BlockModel.extend({ defaults: function defaults() { return this._getDefaults({ type: 'header', - text: 'Display problems? View it in your browser', + text: 'View it in your browser', styles: { block: { backgroundColor: 'transparent', diff --git a/lib/Config/PopulatorData/Templates/Avocado.php b/lib/Config/PopulatorData/Templates/Avocado.php index 7fc0a857b0..e48fbe8dfe 100644 --- a/lib/Config/PopulatorData/Templates/Avocado.php +++ b/lib/Config/PopulatorData/Templates/Avocado.php @@ -1011,7 +1011,7 @@ class Avocado { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Birds.php b/lib/Config/PopulatorData/Templates/Birds.php index e117e5fa77..9376a7768f 100644 --- a/lib/Config/PopulatorData/Templates/Birds.php +++ b/lib/Config/PopulatorData/Templates/Birds.php @@ -1725,7 +1725,7 @@ class Birds { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php b/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php index 753eb045ea..bf2f143172 100644 --- a/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php +++ b/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php @@ -824,7 +824,7 @@ class BookStoreWithCoupon { 2 => [ 'type' => 'header', - 'text' => '
Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1175,7 +1175,7 @@ class BookStoreWithCoupon { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/BrandingAgencyNews.php b/lib/Config/PopulatorData/Templates/BrandingAgencyNews.php index 86526c7386..d330fb03ac 100644 --- a/lib/Config/PopulatorData/Templates/BrandingAgencyNews.php +++ b/lib/Config/PopulatorData/Templates/BrandingAgencyNews.php @@ -101,7 +101,7 @@ class BrandingAgencyNews { 1 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -2067,7 +2067,7 @@ class BrandingAgencyNews { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/BuddhistTemple.php b/lib/Config/PopulatorData/Templates/BuddhistTemple.php index c6f4aa0df5..924861cbd5 100644 --- a/lib/Config/PopulatorData/Templates/BuddhistTemple.php +++ b/lib/Config/PopulatorData/Templates/BuddhistTemple.php @@ -1272,7 +1272,7 @@ class BuddhistTemple { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Charity.php b/lib/Config/PopulatorData/Templates/Charity.php index ba62dc6c28..d4921705d3 100644 --- a/lib/Config/PopulatorData/Templates/Charity.php +++ b/lib/Config/PopulatorData/Templates/Charity.php @@ -1111,7 +1111,7 @@ class Charity { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/CityLocalNews.php b/lib/Config/PopulatorData/Templates/CityLocalNews.php index 1da77a7644..81309ce1ff 100755 --- a/lib/Config/PopulatorData/Templates/CityLocalNews.php +++ b/lib/Config/PopulatorData/Templates/CityLocalNews.php @@ -1474,7 +1474,7 @@ class CityLocalNews { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/ClearNews.php b/lib/Config/PopulatorData/Templates/ClearNews.php index 1e7f0893b7..37e1403f4b 100644 --- a/lib/Config/PopulatorData/Templates/ClearNews.php +++ b/lib/Config/PopulatorData/Templates/ClearNews.php @@ -104,7 +104,7 @@ class ClearNews { 1 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1862,7 +1862,7 @@ class ClearNews { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/College.php b/lib/Config/PopulatorData/Templates/College.php index 0b42022c4a..a7b831c6ab 100644 --- a/lib/Config/PopulatorData/Templates/College.php +++ b/lib/Config/PopulatorData/Templates/College.php @@ -1118,7 +1118,7 @@ class College { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/ComputerRepair.php b/lib/Config/PopulatorData/Templates/ComputerRepair.php index 267a567dc1..cf671f0ede 100644 --- a/lib/Config/PopulatorData/Templates/ComputerRepair.php +++ b/lib/Config/PopulatorData/Templates/ComputerRepair.php @@ -1111,7 +1111,7 @@ class ComputerRepair { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/DogFood.php b/lib/Config/PopulatorData/Templates/DogFood.php index 332a1dc7be..abcdb791d5 100644 --- a/lib/Config/PopulatorData/Templates/DogFood.php +++ b/lib/Config/PopulatorData/Templates/DogFood.php @@ -1125,7 +1125,7 @@ class DogFood { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Drone.php b/lib/Config/PopulatorData/Templates/Drone.php index b28ebc76f3..5f4077df49 100644 --- a/lib/Config/PopulatorData/Templates/Drone.php +++ b/lib/Config/PopulatorData/Templates/Drone.php @@ -1168,7 +1168,7 @@ class Drone { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Engineering.php b/lib/Config/PopulatorData/Templates/Engineering.php index d5c5695136..45473f06db 100755 --- a/lib/Config/PopulatorData/Templates/Engineering.php +++ b/lib/Config/PopulatorData/Templates/Engineering.php @@ -160,7 +160,7 @@ class Engineering { 1 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1245,7 +1245,7 @@ class Engineering { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/FarmersMarket.php b/lib/Config/PopulatorData/Templates/FarmersMarket.php index 56ea8927db..17c9f67b00 100644 --- a/lib/Config/PopulatorData/Templates/FarmersMarket.php +++ b/lib/Config/PopulatorData/Templates/FarmersMarket.php @@ -101,7 +101,7 @@ class FarmersMarket { 1 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1530,7 +1530,7 @@ class FarmersMarket { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/FashionBlog.php b/lib/Config/PopulatorData/Templates/FashionBlog.php index 505274208a..06b9eb9330 100644 --- a/lib/Config/PopulatorData/Templates/FashionBlog.php +++ b/lib/Config/PopulatorData/Templates/FashionBlog.php @@ -1075,7 +1075,7 @@ class FashionBlog { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/FashionBlogA.php b/lib/Config/PopulatorData/Templates/FashionBlogA.php index ba7348f492..86a8d92790 100644 --- a/lib/Config/PopulatorData/Templates/FashionBlogA.php +++ b/lib/Config/PopulatorData/Templates/FashionBlogA.php @@ -1422,7 +1422,7 @@ class FashionBlogA { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/FashionShop.php b/lib/Config/PopulatorData/Templates/FashionShop.php index f445f92bf5..70fdcc1014 100644 --- a/lib/Config/PopulatorData/Templates/FashionShop.php +++ b/lib/Config/PopulatorData/Templates/FashionShop.php @@ -104,7 +104,7 @@ class FashionShop { 1 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1017,7 +1017,7 @@ class FashionShop { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/FashionStore.php b/lib/Config/PopulatorData/Templates/FashionStore.php index f7be7943e5..a4697ece81 100644 --- a/lib/Config/PopulatorData/Templates/FashionStore.php +++ b/lib/Config/PopulatorData/Templates/FashionStore.php @@ -1401,7 +1401,7 @@ class FashionStore { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Fitness.php b/lib/Config/PopulatorData/Templates/Fitness.php index f71b1e263b..839480c0bc 100644 --- a/lib/Config/PopulatorData/Templates/Fitness.php +++ b/lib/Config/PopulatorData/Templates/Fitness.php @@ -1090,7 +1090,7 @@ class Fitness { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php b/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php index 4b05557bee..f17a779665 100644 --- a/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php +++ b/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php @@ -1490,7 +1490,7 @@ class FlowersWithCoupon { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Guitarist.php b/lib/Config/PopulatorData/Templates/Guitarist.php index c1f6180b3d..0fc92a7ead 100644 --- a/lib/Config/PopulatorData/Templates/Guitarist.php +++ b/lib/Config/PopulatorData/Templates/Guitarist.php @@ -1716,7 +1716,7 @@ class Guitarist { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/HealthyFoodBlog.php b/lib/Config/PopulatorData/Templates/HealthyFoodBlog.php index adfad1efb1..b3f6657528 100644 --- a/lib/Config/PopulatorData/Templates/HealthyFoodBlog.php +++ b/lib/Config/PopulatorData/Templates/HealthyFoodBlog.php @@ -2446,7 +2446,7 @@ class HealthyFoodBlog { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Hotels.php b/lib/Config/PopulatorData/Templates/Hotels.php index 4b32934f4d..11b9d2b6b9 100644 --- a/lib/Config/PopulatorData/Templates/Hotels.php +++ b/lib/Config/PopulatorData/Templates/Hotels.php @@ -1389,7 +1389,7 @@ class Hotels { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/IndustryConference.php b/lib/Config/PopulatorData/Templates/IndustryConference.php index ff82ef5f64..7d7cad5e30 100644 --- a/lib/Config/PopulatorData/Templates/IndustryConference.php +++ b/lib/Config/PopulatorData/Templates/IndustryConference.php @@ -1041,7 +1041,7 @@ class IndustryConference { 3 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1452,7 +1452,7 @@ class IndustryConference { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/JazzClub.php b/lib/Config/PopulatorData/Templates/JazzClub.php index 3670433dc0..b5c5048ce3 100644 --- a/lib/Config/PopulatorData/Templates/JazzClub.php +++ b/lib/Config/PopulatorData/Templates/JazzClub.php @@ -1243,7 +1243,7 @@ class JazzClub { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/KidsClothing.php b/lib/Config/PopulatorData/Templates/KidsClothing.php index 97653f662a..15d6815fdb 100644 --- a/lib/Config/PopulatorData/Templates/KidsClothing.php +++ b/lib/Config/PopulatorData/Templates/KidsClothing.php @@ -1688,7 +1688,7 @@ class KidsClothing { 'textAlign' => 'center', ], ], - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', ], ], ]; diff --git a/lib/Config/PopulatorData/Templates/LifestyleBlogA.php b/lib/Config/PopulatorData/Templates/LifestyleBlogA.php index 72f75bf2ec..7fdb671063 100644 --- a/lib/Config/PopulatorData/Templates/LifestyleBlogA.php +++ b/lib/Config/PopulatorData/Templates/LifestyleBlogA.php @@ -1259,7 +1259,7 @@ class LifestyleBlogA { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/LifestyleBlogB.php b/lib/Config/PopulatorData/Templates/LifestyleBlogB.php index 64901da46a..a66ac67faf 100644 --- a/lib/Config/PopulatorData/Templates/LifestyleBlogB.php +++ b/lib/Config/PopulatorData/Templates/LifestyleBlogB.php @@ -1489,7 +1489,7 @@ class LifestyleBlogB { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Minimal.php b/lib/Config/PopulatorData/Templates/Minimal.php index 2f02210f38..76d99bf375 100644 --- a/lib/Config/PopulatorData/Templates/Minimal.php +++ b/lib/Config/PopulatorData/Templates/Minimal.php @@ -1192,7 +1192,7 @@ class Minimal { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/ModularStyleStories.php b/lib/Config/PopulatorData/Templates/ModularStyleStories.php index a5bf5a6e6d..c86a73ed51 100644 --- a/lib/Config/PopulatorData/Templates/ModularStyleStories.php +++ b/lib/Config/PopulatorData/Templates/ModularStyleStories.php @@ -1421,7 +1421,7 @@ class ModularStyleStories { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Mosque.php b/lib/Config/PopulatorData/Templates/Mosque.php index d1486e9ebe..71978bc3ba 100644 --- a/lib/Config/PopulatorData/Templates/Mosque.php +++ b/lib/Config/PopulatorData/Templates/Mosque.php @@ -1778,7 +1778,7 @@ class Mosque { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Motor.php b/lib/Config/PopulatorData/Templates/Motor.php index 5ad344509e..3bfd689042 100644 --- a/lib/Config/PopulatorData/Templates/Motor.php +++ b/lib/Config/PopulatorData/Templates/Motor.php @@ -1183,7 +1183,7 @@ class Motor { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Music.php b/lib/Config/PopulatorData/Templates/Music.php index d272276fd2..2704287785 100644 --- a/lib/Config/PopulatorData/Templates/Music.php +++ b/lib/Config/PopulatorData/Templates/Music.php @@ -1458,7 +1458,7 @@ class Music { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/NewsDay.php b/lib/Config/PopulatorData/Templates/NewsDay.php index b56dfecea5..37bdb80ca2 100644 --- a/lib/Config/PopulatorData/Templates/NewsDay.php +++ b/lib/Config/PopulatorData/Templates/NewsDay.php @@ -1072,7 +1072,7 @@ class NewsDay { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php index a33269aec7..592eddc342 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php @@ -61,7 +61,7 @@ class NewsletterBlank121Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php index 9cbc8516d7..f945eb6102 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php @@ -61,7 +61,7 @@ class NewsletterBlank12Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php index a892928acd..de1026ff9f 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php @@ -61,7 +61,7 @@ class NewsletterBlank13Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php index 38b0465c32..64fa26168c 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php @@ -61,7 +61,7 @@ class NewsletterBlank1Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/NewspaperTraditional.php b/lib/Config/PopulatorData/Templates/NewspaperTraditional.php index efd0b1d277..197e11e274 100644 --- a/lib/Config/PopulatorData/Templates/NewspaperTraditional.php +++ b/lib/Config/PopulatorData/Templates/NewspaperTraditional.php @@ -142,7 +142,7 @@ class NewspaperTraditional { 1 => [ 'type' => 'header', - 'text' => 'Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -1210,7 +1210,7 @@ class NewspaperTraditional { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/NotSoMedium.php b/lib/Config/PopulatorData/Templates/NotSoMedium.php index 7b467cf280..bca350b097 100644 --- a/lib/Config/PopulatorData/Templates/NotSoMedium.php +++ b/lib/Config/PopulatorData/Templates/NotSoMedium.php @@ -985,7 +985,7 @@ class NotSoMedium { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Painter.php b/lib/Config/PopulatorData/Templates/Painter.php index 2b98f51d46..57112e47b0 100644 --- a/lib/Config/PopulatorData/Templates/Painter.php +++ b/lib/Config/PopulatorData/Templates/Painter.php @@ -1390,7 +1390,7 @@ class Painter { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Phone.php b/lib/Config/PopulatorData/Templates/Phone.php index 3382346952..1a6d5fd32f 100644 --- a/lib/Config/PopulatorData/Templates/Phone.php +++ b/lib/Config/PopulatorData/Templates/Phone.php @@ -753,7 +753,7 @@ class Phone { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Photography.php b/lib/Config/PopulatorData/Templates/Photography.php index 9dd9fe3a25..eafffdbb45 100644 --- a/lib/Config/PopulatorData/Templates/Photography.php +++ b/lib/Config/PopulatorData/Templates/Photography.php @@ -2088,7 +2088,7 @@ class Photography { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Poet.php b/lib/Config/PopulatorData/Templates/Poet.php index a4fbe066e9..abe92a560e 100644 --- a/lib/Config/PopulatorData/Templates/Poet.php +++ b/lib/Config/PopulatorData/Templates/Poet.php @@ -1239,7 +1239,7 @@ class Poet { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php b/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php index 1063245414..e0cbf5b5b8 100644 --- a/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php @@ -61,7 +61,7 @@ class PostNotificationsBlank1Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/PrimarySchool.php b/lib/Config/PopulatorData/Templates/PrimarySchool.php index 7f6d945c93..e19492f951 100644 --- a/lib/Config/PopulatorData/Templates/PrimarySchool.php +++ b/lib/Config/PopulatorData/Templates/PrimarySchool.php @@ -1336,7 +1336,7 @@ class PrimarySchool { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/RealEstate.php b/lib/Config/PopulatorData/Templates/RealEstate.php index 88e1ae49c9..731f9bf5fc 100644 --- a/lib/Config/PopulatorData/Templates/RealEstate.php +++ b/lib/Config/PopulatorData/Templates/RealEstate.php @@ -1091,7 +1091,7 @@ class RealEstate { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/RenewableEnergy.php b/lib/Config/PopulatorData/Templates/RenewableEnergy.php index 2db3ad134f..f3454d9d7c 100644 --- a/lib/Config/PopulatorData/Templates/RenewableEnergy.php +++ b/lib/Config/PopulatorData/Templates/RenewableEnergy.php @@ -1324,7 +1324,7 @@ class RenewableEnergy { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Retro.php b/lib/Config/PopulatorData/Templates/Retro.php index 532e0a5f10..bb6a59d431 100644 --- a/lib/Config/PopulatorData/Templates/Retro.php +++ b/lib/Config/PopulatorData/Templates/Retro.php @@ -1309,7 +1309,7 @@ class Retro { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/RetroComputingMagazine.php b/lib/Config/PopulatorData/Templates/RetroComputingMagazine.php index 219b4a7a52..01912f8f12 100644 --- a/lib/Config/PopulatorData/Templates/RetroComputingMagazine.php +++ b/lib/Config/PopulatorData/Templates/RetroComputingMagazine.php @@ -160,7 +160,7 @@ class RetroComputingMagazine { 0 => [ 'type' => 'header', - 'text' => 'Display problems? Open this email in your web browser.
', + 'text' => '', 'styles' => [ 'block' => @@ -660,4 +660,4 @@ class RetroComputingMagazine { } -} \ No newline at end of file +} diff --git a/lib/Config/PopulatorData/Templates/RockBand.php b/lib/Config/PopulatorData/Templates/RockBand.php index 341c3e2594..5974b6fdd1 100644 --- a/lib/Config/PopulatorData/Templates/RockBand.php +++ b/lib/Config/PopulatorData/Templates/RockBand.php @@ -1209,7 +1209,7 @@ class RockBand { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/RssSimpleNews.php b/lib/Config/PopulatorData/Templates/RssSimpleNews.php index 3c988dfbb0..9310d014f4 100644 --- a/lib/Config/PopulatorData/Templates/RssSimpleNews.php +++ b/lib/Config/PopulatorData/Templates/RssSimpleNews.php @@ -809,7 +809,7 @@ class RssSimpleNews { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/ScienceWeekly.php b/lib/Config/PopulatorData/Templates/ScienceWeekly.php index 8cfc8927ff..a470c8bc41 100644 --- a/lib/Config/PopulatorData/Templates/ScienceWeekly.php +++ b/lib/Config/PopulatorData/Templates/ScienceWeekly.php @@ -1162,7 +1162,7 @@ class ScienceWeekly { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Software.php b/lib/Config/PopulatorData/Templates/Software.php index a2890e8494..f4d3eece40 100644 --- a/lib/Config/PopulatorData/Templates/Software.php +++ b/lib/Config/PopulatorData/Templates/Software.php @@ -1286,7 +1286,7 @@ class Software { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Synagogue.php b/lib/Config/PopulatorData/Templates/Synagogue.php index b11634d848..149e22bbe4 100644 --- a/lib/Config/PopulatorData/Templates/Synagogue.php +++ b/lib/Config/PopulatorData/Templates/Synagogue.php @@ -1772,7 +1772,7 @@ class Synagogue { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/Vlogger.php b/lib/Config/PopulatorData/Templates/Vlogger.php index cdfcf6c242..4edfb9b4a2 100644 --- a/lib/Config/PopulatorData/Templates/Vlogger.php +++ b/lib/Config/PopulatorData/Templates/Vlogger.php @@ -1397,7 +1397,7 @@ class Vlogger { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php b/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php index fd8e371e20..dbcab3efb2 100644 --- a/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php @@ -61,7 +61,7 @@ class WelcomeBlank12Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php b/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php index a7958d8f7f..a575324922 100644 --- a/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php @@ -61,7 +61,7 @@ class WelcomeBlank1Column { "blocks" => [ [ "type" => "header", - "text" => WPFunctions::get()->__("Display problems? Open this email in your web browser.", 'mailpoet'), + "text" => WPFunctions::get()->__("View this in your browser.", 'mailpoet'), "styles" => [ "block" => [ "backgroundColor" => "transparent", diff --git a/lib/Config/PopulatorData/Templates/WideStoryLayout.php b/lib/Config/PopulatorData/Templates/WideStoryLayout.php index 45cde91164..32bd3865a6 100644 --- a/lib/Config/PopulatorData/Templates/WideStoryLayout.php +++ b/lib/Config/PopulatorData/Templates/WideStoryLayout.php @@ -748,7 +748,7 @@ class WideStoryLayout { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/WineCity.php b/lib/Config/PopulatorData/Templates/WineCity.php index b07fd27601..76388b8c74 100644 --- a/lib/Config/PopulatorData/Templates/WineCity.php +++ b/lib/Config/PopulatorData/Templates/WineCity.php @@ -934,7 +934,7 @@ class WineCity { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/lib/Config/PopulatorData/Templates/WordPressTheme.php b/lib/Config/PopulatorData/Templates/WordPressTheme.php index 8513f25e67..69c1b0a2a2 100755 --- a/lib/Config/PopulatorData/Templates/WordPressTheme.php +++ b/lib/Config/PopulatorData/Templates/WordPressTheme.php @@ -1409,7 +1409,7 @@ class WordPressTheme { ], 'header' => [ - 'text' => 'Display problems? Open this email in your web browser.', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => diff --git a/tests/_data/newsletterThreeCols.json b/tests/_data/newsletterThreeCols.json index 5f7c3a58fd..cdd01e2f2d 100644 --- a/tests/_data/newsletterThreeCols.json +++ b/tests/_data/newsletterThreeCols.json @@ -505,7 +505,7 @@ }, "header": { - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": diff --git a/tests/_data/newsletterWithALC.json b/tests/_data/newsletterWithALC.json index 89a1cd4668..7dcc172395 100644 --- a/tests/_data/newsletterWithALC.json +++ b/tests/_data/newsletterWithALC.json @@ -360,7 +360,7 @@ } }, "header": { - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" diff --git a/tests/_data/newsletterWithALCAndButton.json b/tests/_data/newsletterWithALCAndButton.json index 73d9019b36..70f7057954 100644 --- a/tests/_data/newsletterWithALCAndButton.json +++ b/tests/_data/newsletterWithALCAndButton.json @@ -402,7 +402,7 @@ } }, "header": { - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" diff --git a/tests/_data/newsletterWithText.json b/tests/_data/newsletterWithText.json index 9c09387dbb..86fece074a 100644 --- a/tests/_data/newsletterWithText.json +++ b/tests/_data/newsletterWithText.json @@ -43,7 +43,7 @@ "blocks": [ { "type": "header", - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" @@ -421,7 +421,7 @@ } }, "header": { - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" diff --git a/tests/_data/newsletterWithTextNoFooter.json b/tests/_data/newsletterWithTextNoFooter.json index 5bddae4c52..c75e5b7056 100644 --- a/tests/_data/newsletterWithTextNoFooter.json +++ b/tests/_data/newsletterWithTextNoFooter.json @@ -43,7 +43,7 @@ "blocks": [ { "type": "header", - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" @@ -384,7 +384,7 @@ } }, "header": { - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" diff --git a/tests/_data/newsletterWithTextNoHeader.json b/tests/_data/newsletterWithTextNoHeader.json index c91d474b21..74d749c74b 100644 --- a/tests/_data/newsletterWithTextNoHeader.json +++ b/tests/_data/newsletterWithTextNoHeader.json @@ -370,7 +370,7 @@ } }, "header": { - "text": "Display problems? Open this email in your web browser.", + "text": "View this in your browser.", "styles": { "block": { "backgroundColor": "transparent" diff --git a/tests/acceptance/EditorHeaderBlockCest.php b/tests/acceptance/EditorHeaderBlockCest.php index 64ceacab96..ef3e1210ac 100644 --- a/tests/acceptance/EditorHeaderBlockCest.php +++ b/tests/acceptance/EditorHeaderBlockCest.php @@ -18,7 +18,7 @@ class EditorHeaderBlockCest { $I->dragAndDrop('#automation_editor_block_header', '#mce_0'); //Open settings by clicking on block $I->moveMouseOver($headerInEditor, 3, 2); - $I->waitForText('Display problems?'); + $I->waitForText('View this in your browser.'); $I->click($headerSettingsIcon); $I->waitForElementVisible($headerSettingsAssertion); $I->click($headerSettingsAssertion); diff --git a/tests/integration/Newsletter/RendererTestData.json b/tests/integration/Newsletter/RendererTestData.json index 90538d2235..2f62574a34 100644 --- a/tests/integration/Newsletter/RendererTestData.json +++ b/tests/integration/Newsletter/RendererTestData.json @@ -22,7 +22,7 @@ "blocks": [ { "type": "header", - "text": "Display problems? View it in your browser", + "text": "View it in your browser", "styles": { "block": { "backgroundColor": "#ffffff" diff --git a/tests/unit/Newsletter/Renderer/Blocks/HeaderTest.php b/tests/unit/Newsletter/Renderer/Blocks/HeaderTest.php index 1497678cb2..53b5e3a1bd 100644 --- a/tests/unit/Newsletter/Renderer/Blocks/HeaderTest.php +++ b/tests/unit/Newsletter/Renderer/Blocks/HeaderTest.php @@ -5,7 +5,7 @@ class HeaderTest extends \MailPoetUnitTest { private $block = [ 'type' => 'header', - 'text' => 'Display problems? Open in browser', + 'text' => 'View this in your browser.', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', @@ -28,7 +28,7 @@ class HeaderTest extends \MailPoetUnitTest { $expected_result = 'Display problems? View this newsletter in your browser. |
View this newsletter in your browser. |