Commit Graph

66 Commits

Author SHA1 Message Date
6a494a2fae Introduce captcha session service
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
5d1623a083 Use PHP functions 2019-05-21 09:04:00 -04:00
879a36e0f2 Rename translation functions 2019-05-21 09:04:00 -04:00
9745b0ab02 Show notice in Beamer when MailPoet update is available
[MAILPOET-2038]
2019-05-20 13:13:22 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
48fe3de7e1 Update WP functions [PREMIUM-94] 2019-05-13 09:12:55 -04:00
388814d226 Add backward compatibility for wpdb parse_db_host
[MAILPOET-2023]
2019-05-02 13:41:13 -04:00
810f2bd041 Exclude non-public posts hidden by 3rd-party plugins from ALC
[MAILPOET-1964]
2019-04-29 05:46:16 -04:00
29e2cebce3 Add getOrdersCount() to WooCommerce helper
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
534dc140f7 Use WP function to parse DB_HOST
This change will enable using MailPoet on sites which are using ipv6 addresses in DB_HOST
[MAILPOET-1907]
2019-04-16 11:11:28 +03:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
6f85c27d4f Fix PHPStan warnings 2019-03-28 15:20:28 -04:00
5c2b34e9da Move WC functions to WC Helper 2019-03-28 15:20:28 -04:00
5bd51baef8 Fix tests 2019-03-28 15:20:28 -04:00
dce4f4ece8 Rewrite WPFunctions methods 2019-03-28 15:20:28 -04:00
f128b2471d Fix some typos 2019-03-07 08:30:14 -05:00
ab097d356a Fix PHPStan errors 2019-03-07 08:30:14 -05:00
3ff55d85a9 Fix tests 2019-03-07 08:30:14 -05:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
986482e34b Make WPFunctions a singleton and add WP fns 2019-03-07 08:30:14 -05:00
f5feb032fe Show error notice when email is sent from unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
1da2263d83 Allow showing error notice without "MailPoet Error:" title
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
833d197753 Allow rendering WP notices without paragraph element
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
b1c9133330 Add current_user_can WP function into WPFunctions wrapper
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
wxa
6258ea6d1f Use encapsulated WP function [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
f1c7e48176 Remove debugging code 2019-01-31 13:28:29 +01:00
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
d452cfcae7 Wrap calls in DateTime and Emoji classes 2019-01-31 13:23:32 +01:00
b663d9761e Encapsulate is_user_logged_in function 2019-01-30 13:59:49 +01:00
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
b66c724c4a Fix tests
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
aac7744dee Fix case in use statements 2018-11-15 11:41:04 +01:00
8b725f1c91 Rename transient attribute to data_notice_name 2018-08-27 17:36:52 +03:00
c68f58a7c0 Display PHP version warning via notice filter instead of stdout 2018-08-23 15:06:21 +03:00
ac47866295 Fix image fullwidth toggle [MAILPOET-1365]
Prevent WordPress $content_width global to override
mailpoet_image_size when calling wp_get_attachment_image_src()
in ACL generated posts.
2018-06-05 08:59:57 +02: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
6c64ba90c7 Abstracts WP's remove_all_filters function and fixes export test 2018-04-13 14:20:53 -04:00
467cf350e9 Abstract WP's current_time() function in the code base 2018-03-20 16:34:50 -04:00
d317eb4fbd Adds unit test 2018-03-20 16:30:28 -04:00
819d4dc17a Abstracts WP functions 2018-01-15 19:52:51 -05:00
2c358ab179 Add progressive throttling of subscriptions from the same IP address [MAILPOET-1128] 2017-10-10 19:36:20 +03:00
61ae2da1e3 Fix a constant not defined in PHP 5.3 [MAILPOET-1009] 2017-08-30 14:02:29 +03:00
b9bdc86fd9 Add emoji support to newsletter body [MAILPOET-1009] 2017-08-28 19:07:17 +03:00
2eb98905b6 Encapsulate date formatting within the DateTime class [PREMIUM-4] 2017-05-09 08:54:12 +03:00
8d870e85eb Switch to get_bloginfo() from bloginfo() to prevent output 2017-04-10 19:44:32 +03:00