accf804cea
Add queue id into unsubscribe URLs data
...
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
4189b11054
Remove unsubscribes tracking from shortcodes processing
...
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
1f744453d4
Switch unsubscribe url shortcode to the confirm page
...
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
3248c77bb3
Shortcodes cannot spread to multiple lines
...
Wordpress as well doesn't use those modifiers
[MAILPOET-2660]
2020-03-11 16:32:42 +00:00
b39dac75d6
Autofix number of newlines between methods
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
923dc0d1dd
Simplify and unify getViewInBroserUrl calls
...
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
e5fcf5819d
Remove 'type' parameter for view-in-browser, always include hash
...
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
eb1c7673e3
Make $preview = true default for view-in-broser URL
...
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
685b4885c0
Exclude WordPress and WooCommerce variables from camel case conversion
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
650f9a8c90
Use proper check for existence
...
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
d970dda637
Replace "new SettingsController()" with fetch from DI container
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
1b5b9d89ff
Autofix namespace declaration spacing
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
4fbf8ed7be
Replace unsubscribe link short code strings by constant
...
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
0dd7b5fb7a
Remove unnecessary aliases for SubcriptionUrlFactory
...
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
7dba4d900c
Rename Subscription\Url to Subscription\SubscriptionUrlFactory
...
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
d90d5c6385
Refactor getUnsubscribeUrl to instance method
...
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
4e75f8883e
Refactor getManageUrl to instance method
...
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
01a0fe96c4
Remove no longer necessary checks
...
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
bb0af3b052
Fix [newsletter:post_title] with filters applied
...
Use the same query fix for shortcode as for ALC getPosts
[MAILPOET-2214]
2019-07-24 12:01:32 -04:00
01bd3d036b
Fix formating [date:dordinal] shortcode
...
[MAILPOET-2148]
2019-07-18 14:21:24 -04:00
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
21766421d5
Upgrade PHPStan level to 4
...
I had to add some ignore errors until phpstan/phpstan#1482 is resolved
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
ab097d356a
Fix PHPStan errors
2019-03-07 08:30:14 -05:00
0a436087e1
Replace all WP function calls
2019-03-07 08:30:14 -05:00
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a8972ca281
Add space between switch and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
fce709a7fc
Refactor MailPoet\Newsletter to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
a46d98ec44
Refactor WPFunctions to be injectable with DI
2018-12-12 16:43:52 +01:00
467bef1d61
Do not require pluggable.php [MAILPOET-1650]
2018-11-22 17:01:33 +03:00
c3481dd4b7
Refactor subscription links to work with subscriber entity
...
[MAILPOET-1495]
2018-10-12 11:33:15 +02:00
dbdf432c1d
Merge pull request #1347 from mailpoet/queue_rendered_subject_improvement
...
Uses queue's rendered subject when sending newsletter [MAILPOET-1373]
2018-05-17 08:35:25 -04:00
1c6c275295
Passes single array with shortcode details
2018-05-14 19:16:24 -04:00
5912004c10
Fix: CPU usage and sending issue on slow host
...
On some slow host, the `newsletter` table get filled with
duplicated `notification_history` marked as `sending` that
never get sent.
To prevent this we've made the two following changes:
* We prevent firing `publis_*` hooks on post_type which
are excluded from search.
* We do not schedule a new post notification email if one
has an `notification_history` entry marked as `sending`.
[MAILPOET-1371]
2018-05-10 15:25:23 +02:00
b57c8b7533
Returns shortcode when subscriber object is null
2018-05-07 19:07:58 -04:00
ee4aefb6e3
Passes full shortcode object as function argument
2018-05-07 19:07:53 -04:00
467cf350e9
Abstract WP's current_time() function in the code base
2018-03-20 16:34:50 -04:00
0217e21753
Restore a default argument value [MAILPOET-1121]
2017-10-19 19:43:39 +03:00
8c8c01aa75
shows links when previewing sent newsletters
2017-10-17 14:14:08 +00:00
19e67ea2b0
Enabling links on header and footer on preview
2017-10-11 12:45:07 +00:00
7e0c500e4f
Uses WP's date_i18n() to localize date shortcode
2017-08-10 12:46:27 -04:00
40cbefd1f4
Uses WP time vs. system time
2017-08-09 18:59:55 -04:00
fb5d43e975
Adds helper method to translate shortcodes
...
Adds translations to Date shortcode
2017-08-09 18:56:33 -04:00
7c30192a03
Adds option to replace shortcodes in one string using contents from
...
another string
Adds unit tests
2017-08-01 09:32:42 +02:00
334c3ff420
Returns false when data-post-id tag is not found
...
Uses all post types, including custom, when querying posts
2017-08-01 09:32:42 +02:00
0cebcd3965
Add missing brackets to custom field shortcodes [MAILPOET-1013]
2017-07-21 14:40:56 +03:00
213d0e8627
Distinguishes between link TYPE and link CATEGORY NAME
...
Uses $replacement_link variable for clarity
2017-07-17 09:14:11 -04:00
abfebc8643
Merge pull request #880 from mailpoet/subscriber_shortcode_fix
...
Returns shortcode's default value when subscriber's first/last name is blank [MAILPOET-899]
2017-05-01 11:28:54 +03:00