Changeset 3276686
- Timestamp:
- 04/18/2025 11:41:58 AM (9 months ago)
- Location:
- mailoptin/trunk
- Files:
-
- 52 edited
-
changelog.txt (modified) (1 diff)
-
languages/mailoptin.pot (modified) (43 diffs)
-
mailoptin.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
src/connections/ActiveCampaignConnect/Connect.php (modified) (3 diffs)
-
src/connections/BeehiivConnect/Subscription.php (modified) (1 diff)
-
src/connections/EmailOctopusConnect/ConnectSettingsPage.php (modified) (1 diff)
-
src/connections/HighLevelConnect/Connect.php (modified) (2 diffs)
-
src/connections/HighLevelConnect/ConnectSettingsPage.php (modified) (1 diff)
-
src/connections/HighLevelConnect/Subscription.php (modified) (1 diff)
-
src/core/src/Admin/Customizer/OptinForm/AbstractCustomizer.php (modified) (1 diff)
-
src/core/src/Admin/Customizer/OptinForm/Customizer.php (modified) (1 diff)
-
src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php (modified) (1 diff)
-
src/core/src/Admin/Customizer/OptinForm/CustomizerSettings.php (modified) (1 diff)
-
src/core/src/Admin/SettingsPage/Connections.php (modified) (1 diff)
-
src/core/src/Admin/SettingsPage/Newsletter_List.php (modified) (3 diffs)
-
src/core/src/Admin/SettingsPage/Settings.php (modified) (1 diff)
-
src/core/src/Connections/AbstractConnect.php (modified) (3 diffs)
-
src/core/src/EmailCampaigns/NewPublishPost/NewPublishPost.php (modified) (1 diff)
-
src/core/src/Functions/functions.php (modified) (1 diff)
-
src/core/src/OptinForms/AbstractOptinForm.php (modified) (3 diffs)
-
vendor/composer/installed.json (modified) (8 diffs)
-
vendor/composer/installed.php (modified) (4 diffs)
-
vendor/sabberworm/php-css-parser/CHANGELOG.md (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/composer.json (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/CSSList/AtRuleBlockList.php (modified) (1 diff)
-
vendor/sabberworm/php-css-parser/src/CSSList/CSSList.php (modified) (5 diffs)
-
vendor/sabberworm/php-css-parser/src/CSSList/Document.php (modified) (1 diff)
-
vendor/sabberworm/php-css-parser/src/CSSList/KeyFrame.php (modified) (1 diff)
-
vendor/sabberworm/php-css-parser/src/Comment/Comment.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/OutputFormat.php (modified) (30 diffs)
-
vendor/sabberworm/php-css-parser/src/OutputFormatter.php (modified) (4 diffs)
-
vendor/sabberworm/php-css-parser/src/Parsing/ParserState.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Property/CSSNamespace.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Property/Charset.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/Property/Import.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/Property/Selector.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/Renderable.php (modified) (1 diff)
-
vendor/sabberworm/php-css-parser/src/Rule/Rule.php (modified) (9 diffs)
-
vendor/sabberworm/php-css-parser/src/RuleSet/AtRuleSet.php (modified) (1 diff)
-
vendor/sabberworm/php-css-parser/src/RuleSet/DeclarationBlock.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/RuleSet/RuleSet.php (modified) (8 diffs)
-
vendor/sabberworm/php-css-parser/src/Settings.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/CSSFunction.php (modified) (4 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/CSSString.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/CalcFunction.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/Color.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/LineName.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/Size.php (modified) (3 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/URL.php (modified) (2 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/Value.php (modified) (4 diffs)
-
vendor/sabberworm/php-css-parser/src/Value/ValueList.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailoptin/trunk/changelog.txt
r3252093 r3276686 1 1 == Changelog == 2 3 = 1.2.73.2 = 4 * Display active integrations first. 5 * Added option to prevent ESC key from closing a popup. 6 * Added setting to disable opt-in error emails. 7 * Added link to send draft broadcasts from the listing page. 8 * Added caching to Highlevel api calls. 9 * Excluded all api keys not found errors from logging. 10 * Fixed bug where invalid beehiiv subscription could be considered valid. 2 11 3 12 = 1.2.73.1 = -
mailoptin/trunk/languages/mailoptin.pot
r3252093 r3276686 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: MailOptin - Lite 1.2.73. 1\n"5 "Project-Id-Version: MailOptin - Lite 1.2.73.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mailoptin\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-0 3-07T09:32:02+00:00\n"12 "POT-Creation-Date: 2025-04-18T10:10:14+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.8.1\n" … … 79 79 msgstr "" 80 80 81 #: src/connections/ActiveCampaignConnect/Connect.php:20 381 #: src/connections/ActiveCampaignConnect/Connect.php:204 82 82 #: src/connections/Ctctv3Connect/Connect.php:163 83 83 #: src/connections/IContactConnect/Connect.php:98 … … 87 87 msgstr "" 88 88 89 #: src/connections/ActiveCampaignConnect/Connect.php:20 489 #: src/connections/ActiveCampaignConnect/Connect.php:205 90 90 #: src/connections/KlaviyoConnect/Connect.php:99 91 91 msgid "Organization Name" 92 92 msgstr "" 93 93 94 #: src/connections/ActiveCampaignConnect/Connect.php:2 4894 #: src/connections/ActiveCampaignConnect/Connect.php:250 95 95 #: src/connections/CampaignMonitorConnect/Connect.php:111 96 96 #: src/connections/CleverReachConnect/Connect.php:196 … … 166 166 #: src/connections/GetResponseConnect/ConnectSettingsPage.php:43 167 167 #: src/connections/GoogleSheetConnect/ConnectSettingsPage.php:56 168 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:3 3168 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:31 169 169 #: src/connections/HubspotConnect/ConnectSettingsPage.php:35 170 170 #: src/connections/IContactConnect/ConnectSettingsPage.php:22 … … 382 382 #: src/connections/CleverReachConnect/ConnectSettingsPage.php:32 383 383 #: src/connections/CtctConnect/ConnectSettingsPage.php:32 384 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:3 4384 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:32 385 385 #: src/connections/HubspotConnect/ConnectSettingsPage.php:36 386 386 #: src/connections/InfusionsoftConnect/ConnectSettingsPage.php:32 … … 402 402 #: src/connections/Ctctv3Connect/ConnectSettingsPage.php:34 403 403 #: src/connections/GoogleSheetConnect/ConnectSettingsPage.php:63 404 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:3 9404 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:37 405 405 #: src/connections/HubspotConnect/ConnectSettingsPage.php:41 406 406 #: src/connections/InfusionsoftConnect/ConnectSettingsPage.php:37 … … 420 420 #: src/connections/Ctctv3Connect/ConnectSettingsPage.php:39 421 421 #: src/connections/GoogleSheetConnect/ConnectSettingsPage.php:68 422 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:4 4422 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:42 423 423 #: src/connections/HubspotConnect/ConnectSettingsPage.php:46 424 424 #: src/connections/InfusionsoftConnect/ConnectSettingsPage.php:42 … … 436 436 #: src/connections/CleverReachConnect/ConnectSettingsPage.php:46 437 437 #: src/connections/CtctConnect/ConnectSettingsPage.php:46 438 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:4 8438 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:46 439 439 #: src/connections/HubspotConnect/ConnectSettingsPage.php:50 440 440 #: src/connections/InfusionsoftConnect/ConnectSettingsPage.php:46 … … 491 491 #: src/connections/GravityFormsConnect/GFMailOptin.php:381 492 492 #: src/connections/GravityFormsConnect/GFMailOptin.php:395 493 #: src/connections/HighLevelConnect/Connect.php:1 07493 #: src/connections/HighLevelConnect/Connect.php:115 494 494 #: src/connections/LearnDashConnect/LearnDashInit.php:286 495 495 #: src/connections/LearnDashConnect/LearnDashInit.php:312 … … 1796 1796 #: src/connections/ConvertFoxConnect/Connect.php:112 1797 1797 #: src/connections/EnchargeConnect/Connect.php:45 1798 #: src/connections/HighLevelConnect/Connect.php:15 11798 #: src/connections/HighLevelConnect/Connect.php:159 1799 1799 #: src/connections/HubspotConnect/Connect.php:204 1800 1800 #: src/connections/InfusionsoftConnect/Connect.php:249 … … 2424 2424 2425 2425 #: src/connections/EmailOctopusConnect/ConnectSettingsPage.php:34 2426 msgid "Log in to your %1$sEmailOctopus account%3$s and visit the %2$sAPI %3$s page to get your API Key."2426 msgid "Log in to your %1$sEmailOctopus account%3$s and visit the %2$sAPI Keys%3$s page to get your API Key." 2427 2427 msgstr "" 2428 2428 … … 2633 2633 #: src/connections/FacebookCustomAudienceConnect/create-audience-tmpl.php:13 2634 2634 #: src/connections/ZohoCRMConnect/Connect.php:199 2635 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:71 42635 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:715 2636 2636 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:384 2637 2637 msgid "Description" … … 2703 2703 #: src/connections/VerticalResponseConnect/Connect.php:107 2704 2704 #: src/connections/WeMailConnect/Connect.php:151 2705 #: src/core/src/Admin/SettingsPage/Settings.php:22 32705 #: src/core/src/Admin/SettingsPage/Settings.php:229 2706 2706 msgid "City" 2707 2707 msgstr "" … … 2723 2723 #: src/connections/WeMailConnect/Connect.php:153 2724 2724 #: src/core/src/Admin/Customizer/CustomControls/WP_Customize_Fields_Repeater_Control.php:614 2725 #: src/core/src/Admin/SettingsPage/Settings.php:2 352725 #: src/core/src/Admin/SettingsPage/Settings.php:241 2726 2726 msgid "Country" 2727 2727 msgstr "" … … 2923 2923 #: src/connections/ForminatorFormConnect/panel-settings-view.php:40 2924 2924 #: src/core/src/Admin/Customizer/CustomControls/EmailContentBuilder/Elements/Divider.php:53 2925 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 542925 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:967 2926 2926 msgid "None" 2927 2927 msgstr "" … … 3213 3213 3214 3214 #: src/connections/HighLevelConnect/Connect.php:43 3215 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:5 53215 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:53 3216 3216 msgid "HighLevel" 3217 3217 msgstr "" 3218 3218 3219 #: src/connections/HighLevelConnect/Connect.php: 993219 #: src/connections/HighLevelConnect/Connect.php:107 3220 3220 #: src/connections/ZohoCRMConnect/Connect.php:207 3221 3221 msgid "Workflow" 3222 3222 msgstr "" 3223 3223 3224 #: src/connections/HighLevelConnect/Connect.php:10 13224 #: src/connections/HighLevelConnect/Connect.php:109 3225 3225 msgid "Select workflow to add contacts to." 3226 3226 msgstr "" 3227 3227 3228 #: src/connections/HighLevelConnect/Connect.php:1 093228 #: src/connections/HighLevelConnect/Connect.php:117 3229 3229 msgid "Comma-separated list of tags to assign to a new contacts in HighLevel" 3230 3230 msgstr "" 3231 3231 3232 #: src/connections/HighLevelConnect/Connect.php:1 153232 #: src/connections/HighLevelConnect/Connect.php:123 3233 3233 msgid "Upgrade to %sMailOptin Premium%s to map custom fields, assign tags and add leads to workflows." 3234 3234 msgstr "" 3235 3235 3236 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:3 63236 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:34 3237 3237 msgid "Only re-authorize if you want to connect another HighLevel account." 3238 3238 msgstr "" 3239 3239 3240 #: src/connections/HighLevelConnect/ConnectSettingsPage.php: 503240 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:48 3241 3241 msgid "Authorization is required to grant <strong>%s</strong> access to interact with your HighLevel account." 3242 3242 msgstr "" 3243 3243 3244 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:5 63244 #: src/connections/HighLevelConnect/ConnectSettingsPage.php:54 3245 3245 msgid "HighLevel Connection" 3246 3246 msgstr "" … … 3342 3342 3343 3343 #: src/connections/IContactConnect/Connect.php:94 3344 #: src/core/src/Admin/SettingsPage/Settings.php:2 193344 #: src/core/src/Admin/SettingsPage/Settings.php:225 3345 3345 msgid "Address 2" 3346 3346 msgstr "" … … 4604 4604 4605 4605 #: src/connections/OmnisendConnect/Connect.php:135 4606 #: src/core/src/Admin/SettingsPage/Settings.php:2 154606 #: src/core/src/Admin/SettingsPage/Settings.php:221 4607 4607 msgid "Address" 4608 4608 msgstr "" … … 4804 4804 4805 4805 #: src/connections/RegisteredUsersConnect/Connect.php:98 4806 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 654806 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1578 4807 4807 msgid "Restrict to User Role" 4808 4808 msgstr "" … … 5177 5177 #: src/core/src/Admin/SettingsPage/Settings.php:160 5178 5178 #: src/core/src/Admin/SettingsPage/Settings.php:165 5179 #: src/core/src/Admin/SettingsPage/Settings.php:171 5179 5180 msgid "Disable" 5180 5181 msgstr "" … … 5343 5344 5344 5345 #: src/connections/WebHookConnect/Connect.php:131 5345 #: src/core/src/Admin/SettingsPage/Connections.php:2 735346 #: src/core/src/Admin/SettingsPage/Connections.php:290 5346 5347 msgid "Connection" 5347 5348 msgstr "" … … 6073 6074 #: src/core/src/Admin/SettingsPage/Email_Campaign_List.php:257 6074 6075 #: src/core/src/Admin/SettingsPage/Email_Campaign_List.php:334 6075 #: src/core/src/Admin/SettingsPage/Newsletter_List.php: 756076 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:1 116077 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:1 436076 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:82 6077 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:129 6078 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:161 6078 6079 #: src/core/src/Admin/SettingsPage/OptinCampaign_List.php:480 6079 6080 #: src/core/src/Admin/SettingsPage/OptinCampaign_List.php:579 … … 6957 6958 #: src/core/src/Admin/Customizer/CustomControls/WP_Customize_Fields_Repeater_Control.php:712 6958 6959 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:222 6959 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 316960 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:14 196960 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1244 6961 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1432 6961 6962 msgid "Premium Version Available" 6962 6963 msgstr "" … … 7078 7079 7079 7080 #: src/core/src/Admin/Customizer/EmailCampaign/Customizer.php:165 7081 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:86 7080 7082 msgid "Are you sure you want to send this newsletter now?" 7081 7083 msgstr "" 7082 7084 7083 7085 #: src/core/src/Admin/Customizer/EmailCampaign/Customizer.php:167 7086 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:92 7084 7087 msgid "Send Broadcast" 7085 7088 msgstr "" … … 7125 7128 7126 7129 #: src/core/src/Admin/Customizer/EmailCampaign/Customizer.php:558 7127 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:68 37130 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:684 7128 7131 msgid "Check out MailOptin Premium!" 7129 7132 msgstr "" … … 7132 7135 #: src/core/src/Admin/SettingsPage/ProUpgrade.php:71 7133 7136 #: src/core/src/Admin/SettingsPage/Settings.php:36 7134 #: src/core/src/Admin/SettingsPage/Settings.php:2 487137 #: src/core/src/Admin/SettingsPage/Settings.php:254 7135 7138 msgid "Settings" 7136 7139 msgstr "" … … 7667 7670 msgstr "" 7668 7671 7669 #: src/core/src/Admin/Customizer/OptinForm/AbstractCustomizer.php:13 17672 #: src/core/src/Admin/Customizer/OptinForm/AbstractCustomizer.php:132 7670 7673 msgid "Thanks for subscribing!" 7671 7674 msgstr "" … … 7707 7710 msgstr "" 7708 7711 7709 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:66 17710 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:81 67712 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:662 7713 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:817 7711 7714 msgid "Display Rules" 7712 7715 msgstr "" 7713 7716 7714 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:66 27717 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:663 7715 7718 msgid "Configure how this optin campaign will be shown to visitors or users." 7716 7719 msgstr "" 7717 7720 7718 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:69 57721 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:696 7719 7722 msgid "Design" 7720 7723 msgstr "" 7721 7724 7722 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:70 57725 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:706 7723 7726 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:279 7724 7727 msgid "Headline" 7725 7728 msgstr "" 7726 7729 7727 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:72 47730 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:725 7728 7731 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:487 7729 7732 msgid "Note" 7730 7733 msgstr "" 7731 7734 7732 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:73 47735 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:735 7733 7736 msgid "Fields" 7734 7737 msgstr "" 7735 7738 7736 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:74 47739 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:745 7737 7740 msgid "Configuration" 7738 7741 msgstr "" 7739 7742 7740 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:75 47743 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:755 7741 7744 #: src/core/src/Admin/SettingsPage/Connections.php:49 7742 #: src/core/src/Admin/SettingsPage/Connections.php:2 237745 #: src/core/src/Admin/SettingsPage/Connections.php:240 7743 7746 msgid "Integrations" 7744 7747 msgstr "" 7745 7748 7746 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:76 27749 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:763 7747 7750 msgid "After Conversion" 7748 7751 msgstr "" 7749 7752 7750 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:77 47753 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:775 7751 7754 msgid "Embed & Shortcode" 7752 7755 msgstr "" 7753 7756 7754 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:79 57757 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:796 7755 7758 msgid "Page Targeting" 7756 7759 msgstr "" 7757 7760 7758 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:80 17761 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:802 7759 7762 msgid "Query String Targeting" 7760 7763 msgstr "" 7761 7764 7762 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:80 87765 #: src/core/src/Admin/Customizer/OptinForm/Customizer.php:809 7763 7766 msgid "User Targeting" 7764 7767 msgstr "" … … 7841 7844 7842 7845 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:621 7843 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:11 817846 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1194 7844 7847 msgid "Close optin" 7845 7848 msgstr "" 7846 7849 7847 7850 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:622 7848 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:11 827851 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1195 7849 7852 msgid "Close optin and reload page" 7850 7853 msgstr "" … … 8004 8007 8005 8008 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:939 8009 msgid "Disable ESC Key" 8010 msgstr "" 8011 8012 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:944 8013 msgid "Prevent ESC key from closing a pop-up campaign." 8014 msgstr "" 8015 8016 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:952 8006 8017 msgid "Close on Overlay Click" 8007 8018 msgstr "" 8008 8019 8009 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 498020 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:962 8010 8021 msgid "Sound Effect" 8011 8022 msgstr "" 8012 8023 8013 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 528024 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:965 8014 8025 msgid "Select sound to play when optin is displayed." 8015 8026 msgstr "" 8016 8027 8017 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 558028 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:968 8018 8029 msgid "Pop" 8019 8030 msgstr "" 8020 8031 8021 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 568032 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:969 8022 8033 msgid "Beep" 8023 8034 msgstr "" 8024 8035 8025 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 578036 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:970 8026 8037 msgid "Beep Up" 8027 8038 msgstr "" 8028 8039 8029 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 588040 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:971 8030 8041 msgid "Beep Down" 8031 8042 msgstr "" 8032 8043 8033 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 598044 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:972 8034 8045 msgid "Clong" 8035 8046 msgstr "" 8036 8047 8037 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 608048 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:973 8038 8049 msgid "Pong" 8039 8050 msgstr "" 8040 8051 8041 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 618052 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:974 8042 8053 msgid "Snare Flam" 8043 8054 msgstr "" 8044 8055 8045 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 628056 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:975 8046 8057 msgid "Custom" 8047 8058 msgstr "" 8048 8059 8049 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 698060 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:982 8050 8061 msgid "Custom Sound URL" 8051 8062 msgstr "" 8052 8063 8053 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 738064 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:986 8054 8065 msgid "Add a URL to an mp3/wav audio file to play." 8055 8066 msgstr "" 8056 8067 8057 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 788068 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:991 8058 8069 msgid "Cookie Duration" 8059 8070 msgstr "" 8060 8071 8061 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:9 838072 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:996 8062 8073 msgid "The length of time before this optin will display again to the user once they exit or close this campaign (defaults to 30 days). %sSet to 0 to prevent cookies from being set.%s" 8063 8074 msgstr "" 8064 8075 8065 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php: 9908076 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1003 8066 8077 msgid "Success Cookie Duration" 8067 8078 msgstr "" 8068 8079 8069 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php: 9958080 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1008 8070 8081 msgid "The length of time before the optin will display again to the user once they successfully opt in to this campaign (defaults to value of exit cookie above). %sSet to 0 to prevent cookies from being set.%s" 8071 8082 msgstr "" 8072 8083 8073 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:10 048084 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1017 8074 8085 msgid "Remove MailOptin Branding" 8075 8086 msgstr "" 8076 8087 8077 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:10 068088 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1019 8078 8089 msgid "%sSet your affiliate link%s and make money with branding." 8079 8090 msgstr "" 8080 8091 8081 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:10 428092 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1055 8082 8093 msgid "Want to play or trigger a beep, pop or custom sound when an optin is displayed, %sUpgrade to premium%s now." 8083 8094 msgstr "" 8084 8095 8085 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:11 228096 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1135 8086 8097 msgid "To store subscribers in MailOptin without requiring an email marketing software like Mailchimp and gain access to premium integrations such as Webhook, %sUpgrade to premium%s now." 8087 8098 msgstr "" 8088 8099 8089 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:11 428100 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1155 8090 8101 msgid "No integration or email provider has been connected to MailOptin. %sClick here%s to do that now." 8091 8102 msgstr "" 8092 8103 8093 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:11 808104 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1193 8094 8105 msgid "Display success message." 8095 8106 msgstr "" 8096 8107 8097 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:11 838108 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1196 8098 8109 msgid "Redirect to URL" 8099 8110 msgstr "" 8100 8111 8101 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 1978112 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1210 8102 8113 msgid "Success Action" 8103 8114 msgstr "" 8104 8115 8105 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 008116 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1213 8106 8117 msgid "What to do after users subscribe." 8107 8118 msgstr "" 8108 8119 8109 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 078120 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1220 8110 8121 msgid "Optin Success Message" 8111 8122 msgstr "" 8112 8123 8113 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 158124 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1228 8114 8125 msgid "Redirect URL" 8115 8126 msgstr "" 8116 8127 8117 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 198128 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1232 8118 8129 msgid "Specify a URL to redirect users to after opt-in. Must begin with http or https." 8119 8130 msgstr "" 8120 8131 8121 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 348132 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1247 8122 8133 msgid "Upgrade to %sMailOptin Premium%s for autoresponder, pass lead data to redirect URL, send email notification and trigger success script after conversion." 8123 8134 msgstr "" 8124 8135 8125 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 768136 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1289 8126 8137 msgid "Globally show optin" 8127 8138 msgstr "" 8128 8139 8129 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:12 808140 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1293 8130 8141 msgid "The optin will be shown on all pages of your website if activated. %sDo not activate%s if you want to show optin on specific areas of your site using the settings below." 8131 8142 msgstr "" 8132 8143 8133 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 2938144 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1306 8134 8145 msgid "Show optin specifically on:" 8135 8146 msgstr "" 8136 8147 8137 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 2968148 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1309 8138 8149 msgid "Display the optin only on the selected posts and/or pages." 8139 8150 msgstr "" 8140 8151 8141 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 108152 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1323 8142 8153 msgid "Front Page, Archive and Search Pages" 8143 8154 msgstr "" 8144 8155 8145 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 138156 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1326 8146 8157 msgid "Display the optin on home front page, archive and search pages" 8147 8158 msgstr "" 8148 8159 8149 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 268160 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1339 8150 8161 msgid "Display the optin on posts that are in any of the selected categories." 8151 8162 msgstr "" 8152 8163 8153 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 408164 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1353 8154 8165 msgid "Display the optin on posts that are in any of the selected tags." 8155 8166 msgstr "" 8156 8167 8157 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 518168 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1364 8158 8169 msgid "Show optin on post types:" 8159 8170 msgstr "" 8160 8171 8161 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 548172 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1367 8162 8173 msgid "Display the optin only on the selected post types." 8163 8174 msgstr "" 8164 8175 8165 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 678176 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1380 8166 8177 msgid "Select the posts this optin should never be loaded on." 8167 8178 msgstr "" 8168 8179 8169 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:13 818180 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1394 8170 8181 msgid "Hide the optin on posts that are in any of the selected categories." 8171 8182 msgstr "" 8172 8183 8173 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 3958184 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1408 8174 8185 msgid "Select the pages this optin should never be loaded on." 8175 8186 msgstr "" 8176 8187 8177 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:14 098188 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1422 8178 8189 msgid "Select \"custom post type\" posts this optin should never be loaded on." 8179 8190 msgstr "" 8180 8191 8181 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:14 238192 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1436 8182 8193 msgid "Upgrade to %sMailOptin Premium%s to embed with shortcodes, get optin triggers such as %3$sExit Intent%4$s, %3$sPage views%4$s, %3$sTime on Site%4$s, %3$sAdBlock detection%4$s, %3$sReferral Detection%4$s, %3$sScroll trigger%4$s, powerful page-level targeting and display rules proven to boost conversions." 8183 8194 msgstr "" 8184 8195 8185 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:14 818196 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1494 8186 8197 msgid "Query String" 8187 8198 msgstr "" 8188 8199 8189 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:14 868200 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1499 8190 8201 msgid "Select Action" 8191 8202 msgstr "" 8192 8203 8193 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 4878204 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1500 8194 8205 msgid "Only show on matching pages" 8195 8206 msgstr "" 8196 8207 8197 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 4888208 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1501 8198 8209 msgid "Hide on matching pages" 8199 8210 msgstr "" 8200 8211 8201 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 4908212 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1503 8202 8213 msgid "Specify whether to display or hide the opt-in if the conditions below are met." 8203 8214 msgstr "" 8204 8215 8205 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1 4968216 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1509 8206 8217 msgid "Query String Name" 8207 8218 msgstr "" 8208 8219 8209 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 008220 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1513 8210 8221 msgid "Specify the query string where this opt-in should show/hide." 8211 8222 msgstr "" 8212 8223 8213 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 068224 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1519 8214 8225 msgid "Query String Value" 8215 8226 msgstr "" 8216 8227 8217 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 108228 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1523 8218 8229 msgid "Leave blank if you want to match the query string irrespective of its value." 8219 8230 msgstr "" 8220 8231 8221 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 488232 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1561 8222 8233 msgid "Who should see this optin?" 8223 8234 msgstr "" 8224 8235 8225 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 518236 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1564 8226 8237 msgid "Decide who are able to see this optin." 8227 8238 msgstr "" 8228 8239 8229 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 538240 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1566 8230 8241 msgid "Show to all visitors and users" 8231 8242 msgstr "" 8232 8243 8233 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 548244 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1567 8234 8245 msgid "Show to only logged-in users" 8235 8246 msgstr "" 8236 8247 8237 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 558248 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1568 8238 8249 msgid "Show to only users not logged-in" 8239 8250 msgstr "" 8240 8251 8241 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 568252 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1569 8242 8253 msgid "Show to specific user roles" 8243 8254 msgstr "" 8244 8255 8245 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 688256 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1581 8246 8257 msgid "The opt-in form will only be shown to users with any of the roles you select here." 8247 8258 msgstr "" 8248 8259 8249 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 788260 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1591 8250 8261 msgid "Prefill Form with User Data" 8251 8262 msgstr "" 8252 8263 8253 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:15 818264 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1594 8254 8265 msgid "Enable to prefill form with the name and email address of logged in users." 8255 8266 msgstr "" 8256 8267 8257 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 228268 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1635 8258 8269 msgid "In-post optins are automatically added before or after your post/page content. Only use the embed feature if you want to show your optin in a specific area of your site." 8259 8270 msgstr "" 8260 8271 8261 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 278272 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1640 8262 8273 msgid "Widget" 8263 8274 msgstr "" 8264 8275 8265 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 318276 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1644 8266 8277 msgid "Use the MailOptin widget to embed optin to your website sidebar and other widget area. %sLearn more%s" 8267 8278 msgstr "" 8268 8279 8269 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 398280 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1652 8270 8281 msgid "Shortcode" 8271 8282 msgstr "" 8272 8283 8273 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 428284 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1655 8274 8285 msgid "Use the shortcode below to embed this opt-in form anywhere in your WordPress posts or pages. All page, query string and user targeting rules are ignored when you use shortcode." 8275 8286 msgstr "" 8276 8287 8277 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 488288 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1661 8278 8289 msgid "Template Tag" 8279 8290 msgstr "" 8280 8291 8281 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 518292 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1664 8282 8293 msgid "Use the template tag below to embed this opt-in form anywhere in your theme. All page, query string and user targeting rules are ignored when you use shortcode." 8283 8294 msgstr "" 8284 8295 8285 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 568296 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1669 8286 8297 msgid "Editor Block" 8287 8298 msgstr "" 8288 8299 8289 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:16 598300 #: src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php:1672 8290 8301 msgid "You can also use the MailOptin block in the new WordPress block editor to embed your optins. All page, query string and user targeting rules are ignored when you use MailOptin's block." 8291 8302 msgstr "" … … 8853 8864 msgstr "" 8854 8865 8855 #: src/core/src/Admin/SettingsPage/Connections.php:2 748866 #: src/core/src/Admin/SettingsPage/Connections.php:291 8856 8867 msgid "Configure" 8857 8868 msgstr "" … … 8874 8885 8875 8886 #: src/core/src/Admin/SettingsPage/ConversionExport.php:48 8876 #: src/core/src/Functions/functions.php:55 58887 #: src/core/src/Functions/functions.php:557 8877 8888 msgid "Conversion Page" 8878 8889 msgstr "" … … 8923 8934 8924 8935 #: src/core/src/Admin/SettingsPage/Email_Campaign_List.php:245 8925 #: src/core/src/Admin/SettingsPage/Newsletter_List.php: 998936 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:117 8926 8937 #: src/core/src/Admin/SettingsPage/OptinCampaign_List.php:572 8927 8938 msgid "Customize" … … 8929 8940 8930 8941 #: src/core/src/Admin/SettingsPage/Email_Campaign_List.php:251 8931 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:1 058942 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:123 8932 8943 msgid "Clone" 8933 8944 msgstr "" … … 9056 9067 msgstr "" 9057 9068 9058 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:125 9069 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:91 9070 msgid "Resend Broadcast" 9071 msgstr "" 9072 9073 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:143 9059 9074 msgid "Draft" 9060 9075 msgstr "" 9061 9076 9062 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:1 299077 #: src/core/src/Admin/SettingsPage/Newsletter_List.php:147 9063 9078 msgid "Failed" 9064 9079 msgstr "" … … 9299 9314 msgstr "" 9300 9315 9301 #: src/core/src/Admin/SettingsPage/Settings.php:171 9316 #: src/core/src/Admin/SettingsPage/Settings.php:170 9317 msgid "Disable Optin Error Emails" 9318 msgstr "" 9319 9320 #: src/core/src/Admin/SettingsPage/Settings.php:172 9321 msgid "Check to disable sending optin error notification emails." 9322 msgstr "" 9323 9324 #: src/core/src/Admin/SettingsPage/Settings.php:177 9302 9325 msgid "Global Interaction Cookie" 9303 9326 msgstr "" 9304 9327 9305 #: src/core/src/Admin/SettingsPage/Settings.php:17 29328 #: src/core/src/Admin/SettingsPage/Settings.php:178 9306 9329 msgid "" 9307 9330 "Entering a number of days (e.g. 30) will set a global cookie once any optin is closed by a user or visitor.\n" … … 9309 9332 msgstr "" 9310 9333 9311 #: src/core/src/Admin/SettingsPage/Settings.php:18 19334 #: src/core/src/Admin/SettingsPage/Settings.php:187 9312 9335 msgid "Global Success Cookie" 9313 9336 msgstr "" 9314 9337 9315 #: src/core/src/Admin/SettingsPage/Settings.php:18 29338 #: src/core/src/Admin/SettingsPage/Settings.php:188 9316 9339 msgid "Entering a number of days (e.g. 30) will set a global cookie once any optin has resulted in a successful conversion. This global cookie will prevent any other optins from loading on your site for that visitor until the cookie expires. Defaults to 0 (no global success cookie)." 9317 9340 msgstr "" 9318 9341 9319 #: src/core/src/Admin/SettingsPage/Settings.php:19 19342 #: src/core/src/Admin/SettingsPage/Settings.php:197 9320 9343 msgid "Email Campaign" 9321 9344 msgstr "" 9322 9345 9323 #: src/core/src/Admin/SettingsPage/Settings.php:19 29346 #: src/core/src/Admin/SettingsPage/Settings.php:198 9324 9347 msgid "Email Campaign Settings" 9325 9348 msgstr "" 9326 9349 9327 #: src/core/src/Admin/SettingsPage/Settings.php: 1959350 #: src/core/src/Admin/SettingsPage/Settings.php:201 9328 9351 msgid "From Name" 9329 9352 msgstr "" 9330 9353 9331 #: src/core/src/Admin/SettingsPage/Settings.php: 1969354 #: src/core/src/Admin/SettingsPage/Settings.php:202 9332 9355 msgid "Enter the sender name to be used as the \"From Name\"." 9333 9356 msgstr "" 9334 9357 9335 #: src/core/src/Admin/SettingsPage/Settings.php:20 09358 #: src/core/src/Admin/SettingsPage/Settings.php:206 9336 9359 msgid "From Email" 9337 9360 msgstr "" 9338 9361 9339 #: src/core/src/Admin/SettingsPage/Settings.php:20 19362 #: src/core/src/Admin/SettingsPage/Settings.php:207 9340 9363 msgid "Enter the email address to be used as the \"From Email\"" 9341 9364 msgstr "" 9342 9365 9343 #: src/core/src/Admin/SettingsPage/Settings.php:2 059366 #: src/core/src/Admin/SettingsPage/Settings.php:211 9344 9367 msgid "Reply To" 9345 9368 msgstr "" 9346 9369 9347 #: src/core/src/Admin/SettingsPage/Settings.php:2 069370 #: src/core/src/Admin/SettingsPage/Settings.php:212 9348 9371 msgid "Enter the email address to be used as the \"Reply To\"" 9349 9372 msgstr "" 9350 9373 9351 #: src/core/src/Admin/SettingsPage/Settings.php:21 09374 #: src/core/src/Admin/SettingsPage/Settings.php:216 9352 9375 msgid "Company / Organization" 9353 9376 msgstr "" 9354 9377 9355 #: src/core/src/Admin/SettingsPage/Settings.php:21 19378 #: src/core/src/Admin/SettingsPage/Settings.php:217 9356 9379 msgid "Enter the name of your company or organization." 9357 9380 msgstr "" 9358 9381 9359 #: src/core/src/Admin/SettingsPage/Settings.php:2 279382 #: src/core/src/Admin/SettingsPage/Settings.php:233 9360 9383 msgid "State / Province / Region" 9361 9384 msgstr "" 9362 9385 9363 #: src/core/src/Admin/SettingsPage/Settings.php:23 19386 #: src/core/src/Admin/SettingsPage/Settings.php:237 9364 9387 msgid "Zip / Postal code" 9365 9388 msgstr "" … … 9368 9391 #: src/core/src/AjaxHandler.php:485 9369 9392 #: src/core/src/AjaxHandler.php:523 9370 #: src/core/src/OptinForms/AbstractOptinForm.php:12 729393 #: src/core/src/OptinForms/AbstractOptinForm.php:1287 9371 9394 msgid "Unexpected error. Please try again." 9372 9395 msgstr "" … … 9414 9437 #: src/core/src/AjaxHandler.php:765 9415 9438 #: src/core/src/AjaxHandler.php:787 9416 #: src/core/src/OptinForms/AbstractOptinForm.php:12 779439 #: src/core/src/OptinForms/AbstractOptinForm.php:1292 9417 9440 msgid "Your submission has been flagged as potential spam." 9418 9441 msgstr "" … … 9446 9469 msgstr "" 9447 9470 9448 #: src/core/src/Connections/AbstractConnect.php: 1999471 #: src/core/src/Connections/AbstractConnect.php:200 9449 9472 msgid "The email campaign \"%s\" had the following error \"%s\"." 9450 9473 msgstr "" 9451 9474 9452 #: src/core/src/Connections/AbstractConnect.php:20 79475 #: src/core/src/Connections/AbstractConnect.php:208 9453 9476 msgid "Warning! \"%s\" Email Campaign Is Not Working" 9454 9477 msgstr "" 9455 9478 9456 #: src/core/src/Connections/AbstractConnect.php:25 89479 #: src/core/src/Connections/AbstractConnect.php:259 9457 9480 msgid "%sView Error Log%s" 9458 9481 msgstr "" 9459 9482 9460 #: src/core/src/Connections/AbstractConnect.php:3 199483 #: src/core/src/Connections/AbstractConnect.php:323 9461 9484 msgid "Use the coupon %s on checkout to save 20%% off MailOptin premium (%s)" 9462 9485 msgstr "" 9463 9486 9464 #: src/core/src/Connections/AbstractConnect.php:32 19487 #: src/core/src/Connections/AbstractConnect.php:325 9465 9488 msgid "Get 20%% Discount Now (%s)" 9466 9489 msgstr "" 9467 9490 9468 #: src/core/src/Connections/AbstractConnect.php:3 449491 #: src/core/src/Connections/AbstractConnect.php:350 9469 9492 msgid "Warning! \"%s\" Optin Campaign Is Not Working" 9470 9493 msgstr "" 9471 9494 9472 #: src/core/src/Connections/AbstractConnect.php:3 549495 #: src/core/src/Connections/AbstractConnect.php:360 9473 9496 msgid "The optin campaign \"%s\" is failing to convert leads due to the following error \"%s\"." 9474 9497 msgstr "" 9475 9498 9476 #: src/core/src/Connections/AbstractConnect.php:36 19499 #: src/core/src/Connections/AbstractConnect.php:367 9477 9500 msgid "This e-mail was sent by %s plugin on %s (%s)" 9478 9501 msgstr "" 9479 9502 9480 #: src/core/src/Connections/AbstractConnect.php:3 859503 #: src/core/src/Connections/AbstractConnect.php:391 9481 9504 msgid "The optin campaign \"%s\" is failing to convert leads due to the following error \"%s\". %6$s -- %6$sThis e-mail was sent by %s plugin on %s (%s)" 9482 9505 msgstr "" 9483 9506 9484 #: src/core/src/Connections/AbstractConnect.php:52 09507 #: src/core/src/Connections/AbstractConnect.php:526 9485 9508 msgid "rate limit exceeded" 9486 9509 msgstr "" … … 10751 10774 msgstr "" 10752 10775 10753 #: src/core/src/Functions/functions.php:55 210776 #: src/core/src/Functions/functions.php:554 10754 10777 msgid "IP Address" 10755 10778 msgstr "" 10756 10779 10757 #: src/core/src/Functions/functions.php:55 310780 #: src/core/src/Functions/functions.php:555 10758 10781 msgid "Optin Campaign Name" 10759 10782 msgstr "" 10760 10783 10761 #: src/core/src/Functions/functions.php:55 410784 #: src/core/src/Functions/functions.php:556 10762 10785 msgid "Referrer URL" 10763 10786 msgstr "" … … 10788 10811 msgstr "" 10789 10812 10790 #: src/core/src/OptinForms/AbstractOptinForm.php:12 7310813 #: src/core/src/OptinForms/AbstractOptinForm.php:1288 10791 10814 msgid "Please enter a valid email." 10792 10815 msgstr "" 10793 10816 10794 #: src/core/src/OptinForms/AbstractOptinForm.php:12 7410817 #: src/core/src/OptinForms/AbstractOptinForm.php:1289 10795 10818 msgid "Please enter a name." 10796 10819 msgstr "" 10797 10820 10798 #: src/core/src/OptinForms/AbstractOptinForm.php:12 7510821 #: src/core/src/OptinForms/AbstractOptinForm.php:1290 10799 10822 msgid "A required field is empty." 10800 10823 msgstr "" -
mailoptin/trunk/mailoptin.php
r3252093 r3276686 5 5 Plugin URI: https://mailoptin.io 6 6 Description: Best lead generation, email automation & newsletter plugin. 7 Version: 1.2.73. 17 Version: 1.2.73.2 8 8 Author: MailOptin Popup Builder Team 9 9 Contributors: collizo4sky … … 17 17 18 18 define('MAILOPTIN_SYSTEM_FILE_PATH', __FILE__); 19 define('MAILOPTIN_VERSION_NUMBER', '1.2.73. 1');19 define('MAILOPTIN_VERSION_NUMBER', '1.2.73.2'); 20 20 21 21 MailOptin\Core\Core::init(); -
mailoptin/trunk/readme.txt
r3252093 r3276686 5 5 Requires at least: 5.8 6 6 Requires PHP: 7.4 7 Tested up to: 6. 78 Stable tag: 1.2.73. 17 Tested up to: 6.8 8 Stable tag: 1.2.73.2 9 9 License: GPL-2.0+ 10 10 … … 185 185 == Changelog == 186 186 187 = 1.2.73.2 = 188 * Display active integrations first. 189 * Added option to prevent ESC key from closing a popup. 190 * Added setting to disable opt-in error emails. 191 * Added link to send draft broadcasts from the listing page. 192 * Added caching to Highlevel api calls. 193 * Excluded all api keys not found errors from logging. 194 * Fixed bug where invalid beehiiv subscription could be considered valid. 195 187 196 = 1.2.73.1 = 188 197 * Added WooCommerce block checkout support for optin checkbox. … … 200 209 * Fixed bug with Leads exporting not working. 201 210 202 = 1.2.72.2 =203 * Added filter to email campaign email subject.204 * Added safemode customizer feature.205 * Removed Godaddy email marketing integration.206 * Fixed PHP warnings and notices.207 208 = 1.2.72.1 =209 * Added tagging support to Zoho Campaigns210 * Updated Campaign Monitor API to 3.3.211 * Fixed bug with incorrect insertion of ob_start().212 213 211 See the [changelog file](https://plugins.svn.wordpress.org/mailoptin/trunk/changelog.txt) for complete change log information. -
mailoptin/trunk/src/connections/ActiveCampaignConnect/Connect.php
r2633214 r3276686 167 167 { 168 168 try { 169 169 170 $response = $this->activecampaign_instance()->api('list/list?ids=all'); 170 171 … … 237 238 { 238 239 try { 240 239 241 $forms_array = get_transient('mo_activecampaign_forms'); 240 242 241 if (empty($forms_array) || false === $forms_array) {243 if (empty($forms_array)) { 242 244 243 245 $forms = parent::activecampaign_instance()->api('form/getforms'); … … 262 264 } catch (\Exception $e) { 263 265 self::save_optin_error_log($e->getMessage(), 'activecampaign'); 266 return []; 264 267 } 265 268 } -
mailoptin/trunk/src/connections/BeehiivConnect/Subscription.php
r3095262 r3276686 84 84 $response = $this->beehiiv_instance()->make_request("publications/{publicationId}/subscriptions", $lead_data, 'post'); 85 85 86 if (isset($response['body']->data->id )) {86 if (isset($response['body']->data->id, $response['body']->data->status) && $response['body']->data->status != 'invalid') { 87 87 88 88 if ( ! empty($tags)) { -
mailoptin/trunk/src/connections/EmailOctopusConnect/ConnectSettingsPage.php
r3252093 r3276686 32 32 'label' => __('Enter API Key', 'mailoptin'), 33 33 'description' => sprintf( 34 __('Log in to your %1$sEmailOctopus account%3$s and visit the %2$sAPI %3$s page to get your API Key.', 'mailoptin'),34 __('Log in to your %1$sEmailOctopus account%3$s and visit the %2$sAPI Keys%3$s page to get your API Key.', 'mailoptin'), 35 35 '<a target="_blank" href="https://emailoctopus.com/account/sign-in">', 36 '<a target="_blank" href="https://emailoctopus.com/ api-documentation/">',36 '<a target="_blank" href="https://emailoctopus.com/developer/api-keys">', 37 37 '</a>' 38 38 ), -
mailoptin/trunk/src/connections/HighLevelConnect/Connect.php
r3083464 r3276686 61 61 public function get_workflows() 62 62 { 63 try { 64 65 $response = $this->make_request('workflows/?locationId={locationId}'); 66 67 $options = []; 68 69 if (isset($response->workflows)) { 70 71 $options = array_reduce($response->workflows, function ($carry, $item) { 72 $carry[$item->id] = $item->name; 73 74 return $carry; 75 }, []); 63 $cache_key = 'mailoptin_ghl_workflows'; 64 65 $workflows = get_transient($cache_key); 66 67 if (false === $workflows) { 68 69 try { 70 71 $response = $this->make_request('workflows/?locationId={locationId}'); 72 73 $workflows = []; 74 75 if (isset($response->workflows)) { 76 77 $workflows = array_reduce($response->workflows, function ($carry, $item) { 78 $carry[$item->id] = $item->name; 79 80 return $carry; 81 }, []); 82 } 83 84 set_transient($cache_key, $workflows, DAY_IN_SECONDS); 85 86 } catch (\Exception $e) { 87 self::save_optin_error_log($e->getMessage(), 'highlevel'); 88 return []; 76 89 } 77 78 return $options; 79 80 } catch (\Exception $e) { 81 self::save_optin_error_log($e->getMessage(), 'highlevel'); 82 83 return []; 84 } 90 } 91 92 return $workflows; 85 93 } 86 94 … … 159 167 public function get_optin_fields($list_id = '') 160 168 { 161 $fields = [ 162 'gender' => 'Gender', 163 'phone' => 'Phone', 164 'address1' => 'Street Address', 165 'city' => 'City', 166 'state' => 'State', 167 'country' => 'Country', 168 'postalCode' => 'Postal Code', 169 'website' => 'Website', 170 'dateOfBirth' => 'Date of Birth', 171 'companyName' => 'Company Name', 172 'timezone' => 'Time Zone', 173 'source' => 'Source', 174 ]; 175 176 try { 177 178 $custom_fields = $this->make_request('locations/{locationId}/customFields'); 179 180 if (isset($custom_fields->customFields)) { 181 foreach ($custom_fields->customFields as $custom_field) { 182 $fields['ghl_custom_' . $custom_field->id] = $custom_field->name; 169 $cache_key = 'mailoptin_ghl_optin_fields'; 170 171 $fields = get_transient($cache_key); 172 173 if (false === $fields) { 174 175 $fields = [ 176 'gender' => 'Gender', 177 'phone' => 'Phone', 178 'address1' => 'Street Address', 179 'city' => 'City', 180 'state' => 'State', 181 'country' => 'Country', 182 'postalCode' => 'Postal Code', 183 'website' => 'Website', 184 'dateOfBirth' => 'Date of Birth', 185 'companyName' => 'Company Name', 186 'timezone' => 'Time Zone', 187 'source' => 'Source', 188 ]; 189 190 try { 191 192 $custom_fields = $this->make_request('locations/{locationId}/customFields'); 193 194 if (isset($custom_fields->customFields)) { 195 foreach ($custom_fields->customFields as $custom_field) { 196 $fields['ghl_custom_' . $custom_field->id] = $custom_field->name; 197 } 183 198 } 199 200 } catch (\Exception $e) { 201 self::save_optin_error_log($e->getMessage(), 'highlevel'); 184 202 } 185 203 186 } catch (\Exception $e) { 187 self::save_optin_error_log($e->getMessage(), 'highlevel'); 204 set_transient($cache_key, $fields, HOUR_IN_SECONDS); 188 205 } 189 206 -
mailoptin/trunk/src/connections/HighLevelConnect/ConnectSettingsPage.php
r3252093 r3276686 2 2 3 3 namespace MailOptin\HighLevelConnect; 4 5 use function MailOptin\Core\moVar;6 4 7 5 class ConnectSettingsPage extends AbstractHighLevelConnect -
mailoptin/trunk/src/connections/HighLevelConnect/Subscription.php
r3241280 r3276686 132 132 try { 133 133 134 $this->make_request( 135 "contacts/{$contact_id}/workflow/{$workflow_id}", 136 'POST' 137 ); 134 if ( ! empty($workflow_id)) { 135 136 $this->make_request( 137 "contacts/{$contact_id}/workflow/{$workflow_id}", 138 'POST' 139 ); 140 } 138 141 139 142 } catch (\Exception $e) { -
mailoptin/trunk/src/core/src/Admin/Customizer/OptinForm/AbstractCustomizer.php
r2926718 r3276686 123 123 $defaults['bar_sticky'] = apply_filters('mo_optin_form_hide_headline_default', true, $this->customizer_defaults, $this->optin_campaign_type, $this->optin_campaign_class); 124 124 $defaults['hide_close_button'] = apply_filters('mo_optin_form_hide_close_button_default', false, $this->customizer_defaults, $this->optin_campaign_type, $this->optin_campaign_class); 125 $defaults['disable_esc_key'] = apply_filters('mo_optin_form_customizer_disable_esc_key_default', false, $this->customizer_defaults, $this->optin_campaign_type, $this->optin_campaign_class); 125 126 $defaults['close_backdrop_click'] = apply_filters('mo_optin_form_close_backdrop_click_default', true, $this->customizer_defaults, $this->optin_campaign_type, $this->optin_campaign_class); 126 127 $defaults['optin_sound'] = apply_filters('mo_optin_form_optin_sound_default', 'none', $this->customizer_defaults, $this->optin_campaign_type, $this->optin_campaign_class); -
mailoptin/trunk/src/core/src/Admin/Customizer/OptinForm/Customizer.php
r3164232 r3276686 572 572 if ( ! in_array($customizerClassInstance->optin_campaign_type, ['lightbox', 'slidein', 'bar'])) { 573 573 unset($controls['hide_close_button']); 574 unset($controls['disable_esc_key']); 574 575 } 575 576 -
mailoptin/trunk/src/core/src/Admin/Customizer/OptinForm/CustomizerControls.php
r2926718 r3276686 930 930 'type' => 'light', 931 931 'priority' => 45, 932 ) 933 ) 934 ), 935 'disable_esc_key' => new WP_Customize_Toggle_Control( 936 $this->wp_customize, 937 $this->option_prefix . '[disable_esc_key]', 938 apply_filters('mo_optin_form_customizer_disable_esc_key_args', array( 939 'label' => __('Disable ESC Key', 'mailoptin'), 940 'section' => $this->customizerClassInstance->configuration_section_id, 941 'settings' => $this->option_prefix . '[disable_esc_key]', 942 'type' => 'light', 943 'priority' => 46, 944 'description' => __('Prevent ESC key from closing a pop-up campaign.', 'mailoptin'), 932 945 ) 933 946 ) -
mailoptin/trunk/src/core/src/Admin/Customizer/OptinForm/CustomizerSettings.php
r2639023 r3276686 501 501 'transport' => 'refresh', 502 502 ), 503 'disable_esc_key' => array( 504 'default' => $this->customizer_defaults['disable_esc_key'], 505 'type' => 'option', 506 'transport' => 'postMessage', 507 ), 503 508 'close_backdrop_click' => array( 504 509 'default' => $this->customizer_defaults['close_backdrop_click'], -
mailoptin/trunk/src/core/src/Admin/SettingsPage/Connections.php
r3252093 r3276686 208 208 $connection_args = apply_filters('mailoptin_connections_settings_page', array()); 209 209 usort($connection_args, function ($a, $b) { 210 // make sendinblue appear first 210 211 // First check if an integration is connected 212 $a_connected = strpos($a["section_title"] ?? '', '(Connected)') !== false; 213 $b_connected = strpos($b["section_title"] ?? '', '(Connected)') !== false; 214 215 // Prioritize connected integrations 216 if ($a_connected && !$b_connected) { 217 return -1; 218 } 219 if (!$a_connected && $b_connected) { 220 return 1; 221 } 222 223 // If connection status is the same, make sendinblue appear first 211 224 if (isset($a['sendinblue_api_key'])) { 212 225 return -1; 213 226 } 214 227 if (isset($b['sendinblue_api_key'])) { 228 return 1; 229 } 230 231 // Finally sort alphabetically 215 232 $first_comp = $a["section_title_without_status"] ?? $a["section_title"]; 216 233 $second_comp = $b["section_title_without_status"] ?? $b["section_title"]; -
mailoptin/trunk/src/core/src/Admin/SettingsPage/Newsletter_List.php
r2596841 r3276686 41 41 public function get_columns() 42 42 { 43 $columns =array(43 return array( 44 44 'cb' => '<input type="checkbox" />', 45 45 'name' => __('Name', 'mailoptin'), … … 47 47 'date_sent' => __('Date Sent', 'mailoptin'), 48 48 ); 49 50 return $columns;51 49 } 52 50 … … 70 68 71 69 $delete_url = Email_Campaign_List::_campaign_delete_url($email_campaign_id); 70 $send_url = esc_url( 71 add_query_arg( 72 '_wpnonce', 73 wp_create_nonce('mailoptin-send-newsletter'), 74 admin_url('?action=mailoptin_send_newsletter&id=' . $email_campaign_id) 75 ) 76 ); 72 77 $name = "<strong><a href=\"$customize_url\">" . $item['name'] . '</a></strong>'; 78 79 $date_sent = EmailCampaignMeta::get_meta_data($email_campaign_id, 'newsletter_date_sent'); 73 80 74 81 $actions = [ 75 82 'delete' => sprintf('<a class="mo-delete-prompt" href="%s">%s</a>', $delete_url, __('Delete', 'mailoptin')), 83 'send' => sprintf( 84 '<a href="%s" class="mo-send-newsletter-link" onclick="return confirm(\'%s\')">%s</a>', 85 $send_url, 86 esc_js(__('Are you sure you want to send this newsletter now?', 'mailoptin')), 87 ( ! empty($date_sent) && ! in_array($date_sent, [ 88 ER::NEWSLETTER_STATUS_FAILED, 89 ER::NEWSLETTER_STATUS_DRAFT 90 ])) 91 ? __('Resend Broadcast', 'mailoptin') 92 : __('Send Broadcast', 'mailoptin') 93 ), 76 94 ]; 77 95 -
mailoptin/trunk/src/core/src/Admin/SettingsPage/Settings.php
r3228511 r3276686 166 166 'description' => esc_html__('Check to stop us from loading Google Fonts on your site.', 'mailoptin') 167 167 ], 168 'disable_optin_error_emails' => [ 169 'type' => 'checkbox', 170 'label' => __('Disable Optin Error Emails', 'mailoptin'), 171 'checkbox_label' => __('Disable', 'mailoptin'), 172 'description' => esc_html__('Check to disable sending optin error notification emails.', 'mailoptin') 173 ], 168 174 'global_cookie' => [ 169 175 'type' => 'number', -
mailoptin/trunk/src/core/src/Connections/AbstractConnect.php
r3252093 r3276686 9 9 use MailOptin\Core\Repositories\EmailCampaignRepository; 10 10 use MailOptin\Core\Repositories\OptinCampaignsRepository; 11 use MailOptin\Core\PluginSettings\Settings; 11 12 12 13 use function MailOptin\Core\is_valid_data; … … 291 292 public static function save_optin_error_log($message, $filename = 'error', $optin_campaign_id = null, $optin_campaign_type = null) 292 293 { 294 // skip api keys not found errors. 295 if (preg_match('/not found\.$/', $message)) return false; 296 293 297 $error_log_folder = MAILOPTIN_OPTIN_ERROR_LOG; 294 298 … … 326 330 public static function send_optin_error_email($optin_campaign_id, $error_message, $optin_campaign_type = '') 327 331 { 328 if (apply_filters('mailoptin_disable_send_optin_error_email', false, $optin_campaign_id)) { 329 return; 330 } 332 $disable_optin_error_emails = apply_filters('mailoptin_disable_send_optin_error_email', Settings::instance()->disable_optin_error_emails()); 333 334 if (!empty($disable_optin_error_emails) && ($disable_optin_error_emails == 'true' || $disable_optin_error_emails === true)) { 335 return; 336 } 331 337 332 338 if ( ! isset($optin_campaign_id, $error_message)) return; -
mailoptin/trunk/src/core/src/EmailCampaigns/NewPublishPost/NewPublishPost.php
r3228511 r3276686 62 62 63 63 // Gravity Forms post creation compat 64 // filter must be implemented in a site specific plugin, using code snippet plugin or functions.php will be too late 64 65 if (apply_filters('mailoptin_gform_advancedpostcreation_compatibility', false) && class_exists('\GFForms')) { 65 66 -
mailoptin/trunk/src/core/src/Functions/functions.php
r3252093 r3276686 310 310 } 311 311 312 $user_ip = str_replace('::1', '127.0.0.1', $_SERVER[$key]); 312 $user_ip = sanitize_text_field($_SERVER[$key]); 313 314 if ($user_ip === '::1') $user_ip = '127.0.0.1'; 313 315 } 314 316 -
mailoptin/trunk/src/core/src/OptinForms/AbstractOptinForm.php
r3102694 r3276686 10 10 use MailOptin\Core\RegisterScripts; 11 11 use MailOptin\Core\Repositories\OptinCampaignsRepository as OCR; 12 12 13 use function MailOptin\Core\is_mailoptin_customizer_preview; 13 14 use function MailOptin\Core\moVar; … … 51 52 add_filter('mo_optin_form_customizer_design_settings', [$this, 'customizer_design_settings'], 10, 2); 52 53 add_filter('mo_optin_form_customizer_headline_settings', [$this, 'customizer_headline_settings'], 10, 2); 53 add_filter('mo_optin_form_customizer_description_settings', [$this, 'customizer_description_settings'], 10, 2); 54 add_filter('mo_optin_form_customizer_description_settings', [ 55 $this, 56 'customizer_description_settings' 57 ], 10, 2); 54 58 add_filter('mo_optin_form_customizer_note_settings', [$this, 'customizer_note_settings'], 10, 2); 55 59 add_filter('mo_optin_form_customizer_fields_settings', [$this, 'customizer_fields_settings'], 10, 2); 56 add_filter('mo_optin_form_customizer_configuration_settings', [$this, 'customizer_configuration_settings'], 10, 2); 60 add_filter('mo_optin_form_customizer_configuration_settings', [ 61 $this, 62 'customizer_configuration_settings' 63 ], 10, 2); 57 64 add_filter('mo_optin_form_customizer_output_settings', [$this, 'customizer_output_settings'], 10, 2); 58 65 59 66 add_filter('mo_optin_form_customizer_design_controls', [$this, 'customizer_design_controls'], 10, 4); 60 67 add_filter('mo_optin_form_customizer_headline_controls', [$this, 'customizer_headline_controls'], 10, 4); 61 add_filter('mo_optin_form_customizer_description_controls', [$this, 'customizer_description_controls'], 10, 4); 68 add_filter('mo_optin_form_customizer_description_controls', [ 69 $this, 70 'customizer_description_controls' 71 ], 10, 4); 62 72 add_filter('mo_optin_form_customizer_note_controls', array($this, 'customizer_note_controls'), 10, 4); 63 73 add_filter('mo_optin_form_customizer_fields_controls', [$this, 'customizer_fields_controls'], 10, 4); 64 add_filter('mo_optin_form_customizer_configuration_controls', [$this, 'customizer_configuration_controls'], 10, 4); 74 add_filter('mo_optin_form_customizer_configuration_controls', [ 75 $this, 76 'customizer_configuration_controls' 77 ], 10, 4); 65 78 add_filter('mo_optin_form_customizer_output_controls', [$this, 'customizer_output_controls'], 10, 4); 66 79 … … 1249 1262 1250 1263 if ($this->optin_campaign_type == 'lightbox') { 1251 $body_close = $this->get_customizer_value('close_backdrop_click'); 1264 $body_close = $this->get_customizer_value('close_backdrop_click'); 1265 $keyClose = $this->get_customizer_value('disable_esc_key') !== true; 1266 1252 1267 $data['body_close'] = apply_filters('mo_optin_campaign_body_close', $body_close, $this); 1253 $data['keyClose'] = apply_filters('mo_optin_campaign_key_close', true, $this);1268 $data['keyClose'] = apply_filters('mo_optin_campaign_key_close', $keyClose, $this); 1254 1269 } 1255 1270 -
mailoptin/trunk/vendor/composer/installed.json
r3252093 r3276686 512 512 { 513 513 "name": "mailoptin/authifly", 514 "version": "0.2.174 1333888",515 "version_normalized": "0.2.174 1333888.0",516 "dist": { 517 "type": "zip", 518 "url": "https://php.fury.io/uDXRvLf8b2ywvgcokC7z/mailoptin/~/up/ver_ 1aeyhO/mailoptinauthifly-0-2-1741333888.zip"514 "version": "0.2.1744970275", 515 "version_normalized": "0.2.1744970275.0", 516 "dist": { 517 "type": "zip", 518 "url": "https://php.fury.io/uDXRvLf8b2ywvgcokC7z/mailoptin/~/up/ver_fBHTj/mailoptinauthifly-0-2-1744970275.zip" 519 519 }, 520 520 "require": { … … 569 569 { 570 570 "name": "mailoptin/connections", 571 "version": "0.2.174 1339173",572 "version_normalized": "0.2.174 1339173.0",573 "dist": { 574 "type": "zip", 575 "url": "https://php.fury.io/uDXRvLf8b2ywvgcokC7z/mailoptin/~/up/ver_ ekFVv/mailoptinconnections-0-2-1741339173.zip"571 "version": "0.2.1744970322", 572 "version_normalized": "0.2.1744970322.0", 573 "dist": { 574 "type": "zip", 575 "url": "https://php.fury.io/uDXRvLf8b2ywvgcokC7z/mailoptin/~/up/ver_1PBiH8/mailoptinconnections-0-2-1744970322.zip" 576 576 }, 577 577 "require": { … … 677 677 { 678 678 "name": "mailoptin/core", 679 "version": "0.1.0-alpha.174 1339158",680 "version_normalized": "0.1.0.0-alpha174 1339158",679 "version": "0.1.0-alpha.1744970315", 680 "version_normalized": "0.1.0.0-alpha1744970315", 681 681 "source": { 682 682 "type": "git", 683 683 "url": "https://github.com/mailoptin/core.git", 684 "reference": " 0d14a7fc9d9120407736a5431368b0c018f21780"685 }, 686 "dist": { 687 "type": "zip", 688 "url": "https://api.github.com/repos/mailoptin/core/zipball/ 0d14a7fc9d9120407736a5431368b0c018f21780",689 "reference": " 0d14a7fc9d9120407736a5431368b0c018f21780",684 "reference": "5a06766806400cfde682cc4993aadb8b3105e14a" 685 }, 686 "dist": { 687 "type": "zip", 688 "url": "https://api.github.com/repos/mailoptin/core/zipball/5a06766806400cfde682cc4993aadb8b3105e14a", 689 "reference": "5a06766806400cfde682cc4993aadb8b3105e14a", 690 690 "shasum": "" 691 691 }, … … 698 698 "soundasleep/html2text": "~0.5" 699 699 }, 700 "time": "2025-0 3-07T09:16:20+00:00",700 "time": "2025-04-10T09:27:16+00:00", 701 701 "type": "wordpress-plugin", 702 702 "installation-source": "dist", … … 718 718 "support": { 719 719 "issues": "https://github.com/mailoptin/core/issues", 720 "source": "https://github.com/mailoptin/core/tree/0.1.0-alpha.174 1339158"720 "source": "https://github.com/mailoptin/core/tree/0.1.0-alpha.1744970315" 721 721 }, 722 722 "install-path": "../../src/core" … … 1015 1015 { 1016 1016 "name": "sabberworm/php-css-parser", 1017 "version": "v8. 7.0",1018 "version_normalized": "8. 7.0.0",1017 "version": "v8.8.0", 1018 "version_normalized": "8.8.0.0", 1019 1019 "source": { 1020 1020 "type": "git", 1021 1021 "url": "https://github.com/MyIntervals/PHP-CSS-Parser.git", 1022 "reference": " f414ff953002a9b18e3a116f5e462c56f21237cf"1023 }, 1024 "dist": { 1025 "type": "zip", 1026 "url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/ f414ff953002a9b18e3a116f5e462c56f21237cf",1027 "reference": " f414ff953002a9b18e3a116f5e462c56f21237cf",1022 "reference": "3de493bdddfd1f051249af725c7e0d2c38fed740" 1023 }, 1024 "dist": { 1025 "type": "zip", 1026 "url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/3de493bdddfd1f051249af725c7e0d2c38fed740", 1027 "reference": "3de493bdddfd1f051249af725c7e0d2c38fed740", 1028 1028 "shasum": "" 1029 1029 }, … … 1033 1033 }, 1034 1034 "require-dev": { 1035 "phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.4 0"1035 "phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.41" 1036 1036 }, 1037 1037 "suggest": { 1038 1038 "ext-mbstring": "for parsing UTF-8 CSS" 1039 1039 }, 1040 "time": "202 4-10-27T17:38:32+00:00",1040 "time": "2025-03-23T17:59:05+00:00", 1041 1041 "type": "library", 1042 1042 "extra": { … … 1077 1077 "support": { 1078 1078 "issues": "https://github.com/MyIntervals/PHP-CSS-Parser/issues", 1079 "source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8. 7.0"1079 "source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8.8.0" 1080 1080 }, 1081 1081 "install-path": "../sabberworm/php-css-parser" -
mailoptin/trunk/vendor/composer/installed.php
r3252093 r3276686 92 92 ), 93 93 'mailoptin/authifly' => array( 94 'pretty_version' => '0.2.174 1333888',95 'version' => '0.2.174 1333888.0',94 'pretty_version' => '0.2.1744970275', 95 'version' => '0.2.1744970275.0', 96 96 'reference' => null, 97 97 'type' => 'wordpress-plugin', … … 101 101 ), 102 102 'mailoptin/connections' => array( 103 'pretty_version' => '0.2.174 1339173',104 'version' => '0.2.174 1339173.0',103 'pretty_version' => '0.2.1744970322', 104 'version' => '0.2.1744970322.0', 105 105 'reference' => null, 106 106 'type' => 'wordpress-plugin', … … 110 110 ), 111 111 'mailoptin/core' => array( 112 'pretty_version' => '0.1.0-alpha.174 1339158',113 'version' => '0.1.0.0-alpha174 1339158',114 'reference' => ' 0d14a7fc9d9120407736a5431368b0c018f21780',112 'pretty_version' => '0.1.0-alpha.1744970315', 113 'version' => '0.1.0.0-alpha1744970315', 114 'reference' => '5a06766806400cfde682cc4993aadb8b3105e14a', 115 115 'type' => 'wordpress-plugin', 116 116 'install_path' => __DIR__ . '/../../src/core', … … 167 167 ), 168 168 'sabberworm/php-css-parser' => array( 169 'pretty_version' => 'v8. 7.0',170 'version' => '8. 7.0.0',171 'reference' => ' f414ff953002a9b18e3a116f5e462c56f21237cf',169 'pretty_version' => 'v8.8.0', 170 'version' => '8.8.0.0', 171 'reference' => '3de493bdddfd1f051249af725c7e0d2c38fed740', 172 172 'type' => 'library', 173 173 'install_path' => __DIR__ . '/../sabberworm/php-css-parser', -
mailoptin/trunk/vendor/sabberworm/php-css-parser/CHANGELOG.md
r3189748 r3276686 16 16 ### Fixed 17 17 18 ## 8.8.0: Bug fixes and deprecations 19 20 ### Added 21 22 - `OutputFormat` properties for space around specific list separators (#880) 23 24 ### Changed 25 26 - Mark the `OutputFormat` the constructor as `@internal` (#1131) 27 - Mark `OutputFormatter` as `@internal` (#896) 28 - Mark `Selector::isValid()` as `@internal` (#1037) 29 - Mark parsing-related methods of most CSS elements as `@internal` (#908) 30 - Mark `OutputFormat::nextLevel()` as `@internal` (#901) 31 - Make all non-private properties `@internal` (#886) 32 33 ### Deprecated 34 35 - Deprecate extending `OutputFormat` (#1131) 36 - Deprecate `OutputFormat::get()` and `::set()` (#1107) 37 - Deprecate support for `-webkit-calc` and `-moz-calc` (#1086) 38 - Deprecate `__toString()` (#1006) 39 - Deprecate greedy calculation of selector specificity (#1018) 40 - Deprecate the IE hack in `Rule` (#993, #1003) 41 - `OutputFormat` properties for space around list separators as an array (#880) 42 - Deprecate `OutputFormat::level()` (#870) 43 44 ### Fixed 45 46 - Include comments for all rules in declaration block (#1169) 47 - Render rules in line and column number order (#1059) 48 - Create `Size` with correct types in `expandBackgroundShorthand` (#814) 49 - Parse `@font-face` `src` property as comma-delimited list (#794) 50 18 51 ## 8.7.0: Add support for PHP 8.4 19 52 … … 29 62 ### Deprecated 30 63 64 - Deprecate magic method forwarding from `OutputFormat` to `OutputFormatter` 65 (#894) 31 66 - Deprecate the expansion of shorthand properties (#719) 32 67 - Deprecate `Parser::setCharset()` and `Parser::getCharset()` (#703) -
mailoptin/trunk/vendor/sabberworm/php-css-parser/composer.json
r3189748 r3276686 28 28 }, 29 29 "require-dev": { 30 "phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.4 0"30 "phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.41" 31 31 }, 32 32 "suggest": { … … 47 47 "dev-main": "9.0.x-dev" 48 48 } 49 },50 "scripts": {51 "ci": [52 "@ci:static"53 ],54 "ci:php:fixer": "@php ./.phive/php-cs-fixer.phar --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots bin src tests",55 "ci:php:sniffer": "@php ./.phive/phpcs.phar --standard=config/phpcs.xml bin src tests",56 "ci:php:stan": "@php ./.phive/phpstan.phar --configuration=config/phpstan.neon",57 "ci:static": [58 "@ci:php:fixer",59 "@ci:php:sniffer",60 "@ci:php:stan"61 ],62 "fix:php": [63 "@fix:php:fixer",64 "@fix:php:sniffer"65 ],66 "fix:php:fixer": "@php ./.phive/php-cs-fixer.phar --config=config/php-cs-fixer.php fix bin src tests",67 "fix:php:sniffer": "@php ./.phive/phpcbf.phar --standard=config/phpcs.xml bin src tests",68 "phpstan:baseline": "@php ./.phive/phpstan.phar --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon"69 },70 "scripts-descriptions": {71 "ci": "Runs all dynamic and static code checks (i.e. currently, only the static checks).",72 "ci:php:fixer": "Checks the code style with PHP CS Fixer.",73 "ci:php:sniffer": "Checks the code style with PHP_CodeSniffer.",74 "ci:php:stan": "Checks the types with PHPStan.",75 "ci:static": "Runs all static code analysis checks for the code.",76 "fix:php": "Autofixes all autofixable issues in the PHP code.",77 "fix:php:fixer": "Fixes autofixable issues found by PHP CS Fixer.",78 "fix:php:sniffer": "Fixes autofixable issues found by PHP_CodeSniffer.",79 "phpstand:baseline": "Updates the PHPStan baseline file to match the code."80 49 } 81 50 } -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/CSSList/AtRuleBlockList.php
r3189748 r3276686 51 51 /** 52 52 * @return string 53 * 54 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 53 55 */ 54 56 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/CSSList/CSSList.php
r3120635 r3276686 34 34 /** 35 35 * @var array<array-key, Comment> 36 * 37 * @internal since 8.8.0 36 38 */ 37 39 protected $aComments; … … 39 41 /** 40 42 * @var array<int, RuleSet|CSSList|Import|Charset> 43 * 44 * @internal since 8.8.0 41 45 */ 42 46 protected $aContents; … … 44 48 /** 45 49 * @var int 50 * 51 * @internal since 8.8.0 46 52 */ 47 53 protected $iLineNo; … … 62 68 * @throws UnexpectedTokenException 63 69 * @throws SourceException 70 * 71 * @internal since V8.8.0 64 72 */ 65 73 public static function parseList(ParserState $oParserState, CSSList $oList) … … 409 417 /** 410 418 * @return string 419 * 420 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 411 421 */ 412 422 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/CSSList/Document.php
r3189748 r3276686 29 29 * 30 30 * @throws SourceException 31 * 32 * @internal since V8.8.0 31 33 */ 32 34 public static function parse(ParserState $oParserState) -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/CSSList/KeyFrame.php
r3189748 r3276686 62 62 /** 63 63 * @return string 64 * 65 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 64 66 */ 65 67 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Comment/Comment.php
r3189748 r3276686 10 10 /** 11 11 * @var int 12 * 13 * @internal since 8.8.0 12 14 */ 13 15 protected $iLineNo; … … 15 17 /** 16 18 * @var string 19 * 20 * @internal since 8.8.0 17 21 */ 18 22 protected $sComment; … … 56 60 /** 57 61 * @return string 62 * 63 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 58 64 */ 59 65 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/OutputFormat.php
r3037851 r3276686 4 4 5 5 /** 6 * Class OutputFormat6 * Extending this class is deprecated in version 8.8.0; it will be made `final` in version 9.0.0. 7 7 * 8 8 * @method OutputFormat setSemicolonAfterLastRule(bool $bSemicolonAfterLastRule) Set whether semicolons are added after … … 15 15 * 16 16 * @var string 17 * 18 * @internal since 8.8.0, will be made private in 9.0.0 17 19 */ 18 20 public $sStringQuotingType = '"'; … … 21 23 * Output RGB colors in hash notation if possible 22 24 * 23 * @var string 25 * @var bool 26 * 27 * @internal since 8.8.0, will be made private in 9.0.0 24 28 */ 25 29 public $bRGBHashNotation = true; … … 31 35 * 32 36 * @var bool 37 * 38 * @internal since 8.8.0, will be made private in 9.0.0 33 39 */ 34 40 public $bSemicolonAfterLastRule = true; … … 39 45 * Any newline character will be indented according to the current level. 40 46 * The triples (After, Before, Between) can be set using a wildcard (e.g. `$oFormat->set('Space*Rules', "\n");`) 47 * 48 * @var string 49 * 50 * @internal since 8.8.0, will be made private in 9.0.0 41 51 */ 42 52 public $sSpaceAfterRuleName = ' '; … … 44 54 /** 45 55 * @var string 56 * 57 * @internal since 8.8.0, will be made private in 9.0.0 46 58 */ 47 59 public $sSpaceBeforeRules = ''; … … 49 61 /** 50 62 * @var string 63 * 64 * @internal since 8.8.0, will be made private in 9.0.0 51 65 */ 52 66 public $sSpaceAfterRules = ''; … … 54 68 /** 55 69 * @var string 70 * 71 * @internal since 8.8.0, will be made private in 9.0.0 56 72 */ 57 73 public $sSpaceBetweenRules = ''; … … 59 75 /** 60 76 * @var string 77 * 78 * @internal since 8.8.0, will be made private in 9.0.0 61 79 */ 62 80 public $sSpaceBeforeBlocks = ''; … … 64 82 /** 65 83 * @var string 84 * 85 * @internal since 8.8.0, will be made private in 9.0.0 66 86 */ 67 87 public $sSpaceAfterBlocks = ''; … … 69 89 /** 70 90 * @var string 91 * 92 * @internal since 8.8.0, will be made private in 9.0.0 71 93 */ 72 94 public $sSpaceBetweenBlocks = "\n"; … … 76 98 * 77 99 * @var string 100 * 101 * @internal since 8.8.0, will be made private in 9.0.0 78 102 */ 79 103 public $sBeforeAtRuleBlock = ''; … … 81 105 /** 82 106 * @var string 107 * 108 * @internal since 8.8.0, will be made private in 9.0.0 83 109 */ 84 110 public $sAfterAtRuleBlock = ''; … … 88 114 * 89 115 * @var string 116 * 117 * @internal since 8.8.0, will be made private in 9.0.0 90 118 */ 91 119 public $sSpaceBeforeSelectorSeparator = ''; … … 93 121 /** 94 122 * @var string 123 * 124 * @internal since 8.8.0, will be made private in 9.0.0 95 125 */ 96 126 public $sSpaceAfterSelectorSeparator = ' '; 97 127 98 128 /** 99 * This is what’s printed after the comma of value lists 100 * 101 * @var string 129 * This is what’s inserted before the separator in value lists, by default. 130 * 131 * `array` is deprecated in version 8.8.0, and will be removed in version 9.0.0. 132 * To set the spacing for specific separators, use {@see $aSpaceBeforeListArgumentSeparators} instead. 133 * 134 * @var string|array<non-empty-string, string> 135 * 136 * @internal since 8.8.0, will be made private in 9.0.0 102 137 */ 103 138 public $sSpaceBeforeListArgumentSeparator = ''; 104 139 105 140 /** 106 * @var string 141 * Keys are separators (e.g. `,`). Values are the space sequence to insert, or an empty string. 142 * 143 * @var array<non-empty-string, string> 144 * 145 * @internal since 8.8.0, will be made private in 9.0.0 146 */ 147 public $aSpaceBeforeListArgumentSeparators = []; 148 149 /** 150 * This is what’s inserted after the separator in value lists, by default. 151 * 152 * `array` is deprecated in version 8.8.0, and will be removed in version 9.0.0. 153 * To set the spacing for specific separators, use {@see $aSpaceAfterListArgumentSeparators} instead. 154 * 155 * @var string|array<non-empty-string, string> 156 * 157 * @internal since 8.8.0, will be made private in 9.0.0 107 158 */ 108 159 public $sSpaceAfterListArgumentSeparator = ''; 109 160 110 161 /** 111 * @var string 162 * Keys are separators (e.g. `,`). Values are the space sequence to insert, or an empty string. 163 * 164 * @var array<non-empty-string, string> 165 * 166 * @internal since 8.8.0, will be made private in 9.0.0 167 */ 168 public $aSpaceAfterListArgumentSeparators = []; 169 170 /** 171 * @var string 172 * 173 * @internal since 8.8.0, will be made private in 9.0.0 112 174 */ 113 175 public $sSpaceBeforeOpeningBrace = ' '; … … 117 179 * 118 180 * @var string 181 * 182 * @internal since 8.8.0, will be made private in 9.0.0 119 183 */ 120 184 public $sBeforeDeclarationBlock = ''; … … 122 186 /** 123 187 * @var string 188 * 189 * @internal since 8.8.0, will be made private in 9.0.0 124 190 */ 125 191 public $sAfterDeclarationBlockSelectors = ''; … … 127 193 /** 128 194 * @var string 195 * 196 * @internal since 8.8.0, will be made private in 9.0.0 129 197 */ 130 198 public $sAfterDeclarationBlock = ''; … … 134 202 * 135 203 * @var string 204 * 205 * @internal since 8.8.0, will be made private in 9.0.0 136 206 */ 137 207 public $sIndentation = "\t"; … … 141 211 * 142 212 * @var bool 213 * 214 * @internal since 8.8.0, will be made private in 9.0.0 143 215 */ 144 216 public $bIgnoreExceptions = false; … … 148 220 * 149 221 * @var bool 222 * 223 * @internal since 8.8.0, will be made private in 9.0.0 150 224 */ 151 225 public $bRenderComments = false; … … 166 240 private $iIndentationLevel = 0; 167 241 242 /** 243 * @internal since V8.8.0. Use the factory methods `create()`, `createCompact()`, or `createPretty()` instead. 244 */ 168 245 public function __construct() 169 246 { … … 174 251 * 175 252 * @return string|null 253 * 254 * @deprecated since 8.8.0, will be removed in 9.0.0. Use specific getters instead. 176 255 */ 177 256 public function get($sName) … … 192 271 * 193 272 * @return self|false 273 * 274 * @deprecated since 8.8.0, will be removed in 9.0.0. Use specific setters instead. 194 275 */ 195 276 public function set($aNames, $mValue) … … 238 319 return $this->get(substr($sMethodName, 3)); 239 320 } elseif (method_exists(OutputFormatter::class, $sMethodName)) { 321 // @deprecated since 8.8.0, will be removed in 9.0.0. Call the method on the formatter directly instead. 240 322 return call_user_func_array([$this->getFormatter(), $sMethodName], $aArguments); 241 323 } else { … … 266 348 /** 267 349 * @return OutputFormat 350 * 351 * @internal since V8.8.0 268 352 */ 269 353 public function nextLevel() … … 287 371 /** 288 372 * @return OutputFormatter 373 * 374 * @internal since 8.8.0 289 375 */ 290 376 public function getFormatter() … … 293 379 $this->oFormatter = new OutputFormatter($this); 294 380 } 381 295 382 return $this->oFormatter; 296 383 } … … 298 385 /** 299 386 * @return int 387 * 388 * @deprecated #869 since version V8.8.0, will be removed in V9.0.0. Use `getIndentationLevel()` instead. 300 389 */ 301 390 public function level() … … 342 431 ->set('Space*Blocks', "\n") 343 432 ->setSpaceBetweenBlocks("\n\n") 344 ->set('SpaceAfterListArgumentSeparator ', ['default' => '',',' => ' '])433 ->set('SpaceAfterListArgumentSeparators', [',' => ' ']) 345 434 ->setRenderComments(true); 346 435 return $format; -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/OutputFormatter.php
r3037851 r3276686 6 6 use Sabberworm\CSS\Parsing\OutputException; 7 7 8 /** 9 * @internal since 8.8.0 10 */ 8 11 class OutputFormatter 9 12 { … … 118 121 public function spaceBeforeListArgumentSeparator($sSeparator) 119 122 { 123 $spaceForSeparator = $this->oFormat->getSpaceBeforeListArgumentSeparators(); 124 if (isset($spaceForSeparator[$sSeparator])) { 125 return $spaceForSeparator[$sSeparator]; 126 } 127 120 128 return $this->space('BeforeListArgumentSeparator', $sSeparator); 121 129 } … … 128 136 public function spaceAfterListArgumentSeparator($sSeparator) 129 137 { 138 $spaceForSeparator = $this->oFormat->getSpaceAfterListArgumentSeparators(); 139 if (isset($spaceForSeparator[$sSeparator])) { 140 return $spaceForSeparator[$sSeparator]; 141 } 142 130 143 return $this->space('AfterListArgumentSeparator', $sSeparator); 131 144 } … … 251 264 private function indent() 252 265 { 253 return str_repeat($this->oFormat->sIndentation, $this->oFormat-> level());266 return str_repeat($this->oFormat->sIndentation, $this->oFormat->getIndentationLevel()); 254 267 } 255 268 } -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Parsing/ParserState.php
r3189748 r3276686 142 142 * 143 143 * @throws UnexpectedTokenException 144 * 145 * @internal since V8.8.0 144 146 */ 145 147 public function parseIdentifier($bIgnoreCase = true) … … 173 175 * @throws UnexpectedEOFException 174 176 * @throws UnexpectedTokenException 177 * 178 * @internal since V8.8.0 175 179 */ 176 180 public function parseCharacter($bIsForIdentifier) -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Property/CSSNamespace.php
r3189748 r3276686 28 28 /** 29 29 * @var array<array-key, Comment> 30 * 31 * @internal since 8.8.0 30 32 */ 31 33 protected $aComments; … … 54 56 /** 55 57 * @return string 58 * 59 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 56 60 */ 57 61 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Property/Charset.php
r3189748 r3276686 24 24 /** 25 25 * @var int 26 * 27 * @internal since 8.8.0 26 28 */ 27 29 protected $iLineNo; … … 29 31 /** 30 32 * @var array<array-key, Comment> 33 * 34 * @internal since 8.8.0 31 35 */ 32 36 protected $aComments; … … 72 76 /** 73 77 * @return string 78 * 79 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 74 80 */ 75 81 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Property/Import.php
r3189748 r3276686 24 24 /** 25 25 * @var int 26 * 27 * @internal since 8.8.0 26 28 */ 27 29 protected $iLineNo; … … 29 31 /** 30 32 * @var array<array-key, Comment> 33 * 34 * @internal since 8.8.0 31 35 */ 32 36 protected $aComments; … … 73 77 /** 74 78 * @return string 79 * 80 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 75 81 */ 76 82 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Property/Selector.php
r3189748 r3276686 81 81 * 82 82 * @return bool 83 * 84 * @internal since V8.8.0 83 85 */ 84 86 public static function isValid($sSelector) … … 89 91 /** 90 92 * @param string $sSelector 91 * @param bool $bCalculateSpecificity 93 * @param bool $bCalculateSpecificity @deprecated since V8.8.0, will be removed in V9.0.0 92 94 */ 93 95 public function __construct($sSelector, $bCalculateSpecificity = false) … … 120 122 /** 121 123 * @return string 124 * 125 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 122 126 */ 123 127 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Renderable.php
r3189748 r3276686 7 7 /** 8 8 * @return string 9 * 10 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 9 11 */ 10 12 public function __toString(); -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Rule/Rule.php
r3189748 r3276686 47 47 /** 48 48 * @var int 49 * 50 * @internal since 8.8.0 49 51 */ 50 52 protected $iColNo; … … 52 54 /** 53 55 * @var array<array-key, Comment> 56 * 57 * @internal since 8.8.0 54 58 */ 55 59 protected $aComments; … … 72 76 73 77 /** 78 * @param array<int, Comment> $commentsBeforeRule 79 * 74 80 * @return Rule 75 81 * 76 82 * @throws UnexpectedEOFException 77 83 * @throws UnexpectedTokenException 78 */ 79 public static function parse(ParserState $oParserState) 80 { 81 $aComments = $oParserState->consumeWhiteSpace(); 84 * 85 * @internal since V8.8.0 86 */ 87 public static function parse(ParserState $oParserState, $commentsBeforeRule = []) 88 { 89 $aComments = \array_merge($commentsBeforeRule, $oParserState->consumeWhiteSpace()); 82 90 $oRule = new Rule( 83 91 $oParserState->parseIdentifier(!$oParserState->comes("--")), … … 109 117 } 110 118 111 $oParserState->consumeWhiteSpace();112 113 119 return $oRule; 114 120 } 115 121 116 122 /** 123 * Returns a list of delimiters (or separators). 124 * The first item is the innermost separator (or, put another way, the highest-precedence operator). 125 * The sequence continues to the outermost separator (or lowest-precedence operator). 126 * 117 127 * @param string $sRule 118 128 * 119 * @return array<int,string>129 * @return list<non-empty-string> 120 130 */ 121 131 private static function listDelimiterForRule($sRule) … … 124 134 return [',', '/', ' ']; 125 135 } 126 return [',', ' ', '/']; 136 137 switch ($sRule) { 138 case 'src': 139 return [' ', ',']; 140 default: 141 return [',', ' ', '/']; 142 } 127 143 } 128 144 … … 294 310 * 295 311 * @return void 312 * 313 * @deprecated since V8.8.0, will be removed in V9.0 296 314 */ 297 315 public function addIeHack($iModifier) … … 304 322 * 305 323 * @return void 324 * 325 * @deprecated since V8.8.0, will be removed in V9.0 306 326 */ 307 327 public function setIeHack(array $aModifiers) … … 312 332 /** 313 333 * @return array<int, int> 334 * 335 * @deprecated since V8.8.0, will be removed in V9.0 314 336 */ 315 337 public function getIeHack() … … 338 360 /** 339 361 * @return string 362 * 363 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 340 364 */ 341 365 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/RuleSet/AtRuleSet.php
r3189748 r3276686 54 54 /** 55 55 * @return string 56 * 57 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 56 58 */ 57 59 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/RuleSet/DeclarationBlock.php
r3189748 r3276686 50 50 * @throws UnexpectedTokenException 51 51 * @throws UnexpectedEOFException 52 * 53 * @internal since V8.8.0 52 54 */ 53 55 public static function parse(ParserState $oParserState, $oList = null) … … 433 435 'background-attachment' => ['scroll'], 434 436 'background-position' => [ 435 new Size(0, '%', null,false, $this->iLineNo),436 new Size(0, '%', null,false, $this->iLineNo),437 new Size(0, '%', false, $this->iLineNo), 438 new Size(0, '%', false, $this->iLineNo), 437 439 ], 438 440 ]; … … 830 832 * 831 833 * @throws OutputException 834 * 835 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 832 836 */ 833 837 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/RuleSet/RuleSet.php
r3189748 r3276686 24 24 { 25 25 /** 26 * @var array<string, Rule> 26 * the rules in this rule set, using the property name as the key, 27 * with potentially multiple rules per property name. 28 * 29 * @var array<string, array<int<0, max>, Rule>> 27 30 */ 28 31 private $aRules; … … 30 33 /** 31 34 * @var int 35 * 36 * @internal since 8.8.0 32 37 */ 33 38 protected $iLineNo; … … 35 40 /** 36 41 * @var array<array-key, Comment> 42 * 43 * @internal since 8.8.0 37 44 */ 38 45 protected $aComments; … … 53 60 * @throws UnexpectedTokenException 54 61 * @throws UnexpectedEOFException 62 * 63 * @internal since V8.8.0 55 64 */ 56 65 public static function parseRuleSet(ParserState $oParserState, RuleSet $oRuleSet) … … 59 68 $oParserState->consume(';'); 60 69 } 61 while (!$oParserState->comes('}')) { 70 while (true) { 71 $commentsBeforeRule = $oParserState->consumeWhiteSpace(); 72 if ($oParserState->comes('}')) { 73 break; 74 } 62 75 $oRule = null; 63 76 if ($oParserState->getSettings()->bLenientParsing) { 64 77 try { 65 $oRule = Rule::parse($oParserState );78 $oRule = Rule::parse($oParserState, $commentsBeforeRule); 66 79 } catch (UnexpectedTokenException $e) { 67 80 try { … … 81 94 } 82 95 } else { 83 $oRule = Rule::parse($oParserState );96 $oRule = Rule::parse($oParserState, $commentsBeforeRule); 84 97 } 85 98 if ($oRule) { … … 263 276 /** 264 277 * @return string 278 * 279 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 265 280 */ 266 281 public function __toString() … … 277 292 $bIsFirst = true; 278 293 $oNextLevel = $oOutputFormat->nextLevel(); 279 foreach ($this->aRules as $aRules) { 280 foreach ($aRules as $oRule) { 281 $sRendered = $oNextLevel->safely(function () use ($oRule, $oNextLevel) { 282 return $oRule->render($oNextLevel); 283 }); 284 if ($sRendered === null) { 285 continue; 286 } 287 if ($bIsFirst) { 288 $bIsFirst = false; 289 $sResult .= $oNextLevel->spaceBeforeRules(); 290 } else { 291 $sResult .= $oNextLevel->spaceBetweenRules(); 292 } 293 $sResult .= $sRendered; 294 } 294 foreach ($this->getRules() as $oRule) { 295 $sRendered = $oNextLevel->safely(function () use ($oRule, $oNextLevel) { 296 return $oRule->render($oNextLevel); 297 }); 298 if ($sRendered === null) { 299 continue; 300 } 301 if ($bIsFirst) { 302 $bIsFirst = false; 303 $sResult .= $oNextLevel->spaceBeforeRules(); 304 } else { 305 $sResult .= $oNextLevel->spaceBetweenRules(); 306 } 307 $sResult .= $sRendered; 295 308 } 296 309 -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Settings.php
r3037851 r3276686 17 17 * 18 18 * @var bool 19 * 20 * @internal since 8.8.0, will be made private in 9.0.0 19 21 */ 20 22 public $bMultibyteSupport; … … 24 26 * 25 27 * @var string 28 * 29 * @internal since 8.8.0, will be made private in 9.0.0 26 30 */ 27 31 public $sDefaultCharset = 'utf-8'; … … 31 35 * 32 36 * @var bool 37 * 38 * @internal since 8.8.0, will be made private in 9.0.0 33 39 */ 34 40 public $bLenientParsing = true; -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/CSSFunction.php
r3189748 r3276686 5 5 use Sabberworm\CSS\OutputFormat; 6 6 use Sabberworm\CSS\Parsing\ParserState; 7 use Sabberworm\CSS\Parsing\SourceException; 8 use Sabberworm\CSS\Parsing\UnexpectedEOFException; 9 use Sabberworm\CSS\Parsing\UnexpectedTokenException; 7 10 8 11 /** … … 14 17 /** 15 18 * @var string 19 * 20 * @internal since 8.8.0 16 21 */ 17 22 protected $sName; … … 43 48 * @throws UnexpectedEOFException 44 49 * @throws UnexpectedTokenException 50 * 51 * @internal since V8.8.0 45 52 */ 46 53 public static function parse(ParserState $oParserState, $bIgnoreCase = false) … … 82 89 /** 83 90 * @return string 91 * 92 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 84 93 */ 85 94 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/CSSString.php
r3189748 r3276686 37 37 * @throws UnexpectedEOFException 38 38 * @throws UnexpectedTokenException 39 * 40 * @internal since V8.8.0 39 41 */ 40 42 public static function parse(ParserState $oParserState) … … 93 95 /** 94 96 * @return string 97 * 98 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 95 99 */ 96 100 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/CalcFunction.php
r3120635 r3276686 7 7 use Sabberworm\CSS\Parsing\UnexpectedTokenException; 8 8 9 /** 10 * Support for `-webkit-calc` and `-moz-calc` is deprecated in version 8.8.0, and will be removed in version 9.0.0. 11 */ 9 12 class CalcFunction extends CSSFunction 10 13 { … … 31 34 * @throws UnexpectedTokenException 32 35 * @throws UnexpectedEOFException 36 * 37 * @internal since V8.8.0 33 38 */ 34 39 public static function parse(ParserState $oParserState, $bIgnoreCase = false) -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/Color.php
r3189748 r3276686 31 31 * @throws UnexpectedEOFException 32 32 * @throws UnexpectedTokenException 33 * 34 * @internal since V8.8.0 33 35 */ 34 36 public static function parse(ParserState $oParserState, $bIgnoreCase = false) … … 154 156 /** 155 157 * @return string 158 * 159 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 156 160 */ 157 161 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/LineName.php
r3189748 r3276686 24 24 * @throws UnexpectedTokenException 25 25 * @throws UnexpectedEOFException 26 * 27 * @internal since V8.8.0 26 28 */ 27 29 public static function parse(ParserState $oParserState) … … 50 52 /** 51 53 * @return string 54 * 55 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 52 56 */ 53 57 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/Size.php
r3189748 r3276686 21 21 */ 22 22 const ABSOLUTE_SIZE_UNITS = [ 23 'px', 'pt', 'pc', 24 'cm', 'mm', 'mozmm', 'in', 25 'vh', 'dvh', 'svh', 'lvh', 26 'vw', 'vmin', 'vmax', 'rem', 23 'px', 24 'pt', 25 'pc', 26 'cm', 27 'mm', 28 'mozmm', 29 'in', 30 'vh', 31 'dvh', 32 'svh', 33 'lvh', 34 'vw', 35 'vmin', 36 'vmax', 37 'rem', 27 38 ]; 28 39 … … 82 93 * @throws UnexpectedEOFException 83 94 * @throws UnexpectedTokenException 95 * 96 * @internal since V8.8.0 84 97 */ 85 98 public static function parse(ParserState $oParserState, $bIsColorComponent = false) … … 210 223 /** 211 224 * @return string 225 * 226 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 212 227 */ 213 228 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/URL.php
r3189748 r3276686 34 34 * @throws UnexpectedEOFException 35 35 * @throws UnexpectedTokenException 36 * 37 * @internal since V8.8.0 36 38 */ 37 39 public static function parse(ParserState $oParserState) … … 80 82 /** 81 83 * @return string 84 * 85 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 82 86 */ 83 87 public function __toString() -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/Value.php
r3120635 r3276686 17 17 /** 18 18 * @var int 19 * 20 * @internal since 8.8.0 19 21 */ 20 22 protected $iLineNo; … … 35 37 * @throws UnexpectedTokenException 36 38 * @throws UnexpectedEOFException 39 * 40 * @internal since V8.8.0 37 41 */ 38 42 public static function parseValue(ParserState $oParserState, array $aListDelimiters = []) … … 111 115 * @throws UnexpectedEOFException 112 116 * @throws UnexpectedTokenException 117 * 118 * @internal since V8.8.0 113 119 */ 114 120 public static function parseIdentifierOrFunction(ParserState $oParserState, $bIgnoreCase = false) … … 141 147 * @throws UnexpectedTokenException 142 148 * @throws SourceException 149 * 150 * @internal since V8.8.0 143 151 */ 144 152 public static function parsePrimitiveValue(ParserState $oParserState) -
mailoptin/trunk/vendor/sabberworm/php-css-parser/src/Value/ValueList.php
r3189748 r3276686 15 15 /** 16 16 * @var array<int, RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string> 17 * 18 * @internal since 8.8.0 17 19 */ 18 20 protected $aComponents; … … 20 22 /** 21 23 * @var string 24 * 25 * @internal since 8.8.0 22 26 */ 23 27 protected $sSeparator; … … 87 91 /** 88 92 * @return string 93 * 94 * @deprecated in V8.8.0, will be removed in V9.0.0. Use `render` instead. 89 95 */ 90 96 public function __toString()
Note: See TracChangeset
for help on using the changeset viewer.