Commit Graph

65 Commits

Author SHA1 Message Date
7a3ffa388f Update PHPStan
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
wxa
4ea2337814 Add WP style shortcodes support to emails
Also pass shortcode arguments to custom shortcode functions

[MAILPOET-3465]
2021-03-22 12:19:59 +01:00
e13b2c62a9 Add servise for fixing html in form blocks
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
55a895f2c4 Display form on product pages
[MAILPOET-3210]
2020-09-17 13:41:31 +02:00
3f65aaee8d Display on tags/categories
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
5c21da80d5 Add data to template
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
36e1d092b5 Add getEditPostLink to WP functions wrapper
[PREMIUM-145]
2020-09-03 15:04:11 +02:00
d6fb223114 Remove code for older WP versions
[MAILPOET-3096]
2020-08-13 17:01:05 +02:00
cee7416fdc Display form always in the_content, not just once
Use magical functions that seems to work

[MAILPOET-3009]
2020-06-25 10:13:53 +02:00
f1261fc728 Add integration test for ALC block processing
[MAILPOET-2961]
2020-06-04 10:40:02 +02:00
9f3daf3256 Optimize fetching product names on segments page
[MAILPOET-2904]
2020-05-11 14:40:29 +02:00
2711a00f3e Render preview page title correctly
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
b465e5205d Add srcset attribute rendering to image block renderer
Srcset is not rendered automatically when image is added in the content hook.
[MAILPOET-2750]
2020-04-08 12:04:47 +02:00
eae5c5010d Fix properties with missing visibility
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
153c72cd77 Autofix long scalar typehints to short ones
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
8da7330a8d Use wp class intead of calling functions directly
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
fd1e8ee915 Display forms only on default post types
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
e644675046 Use cache for forms rendering to
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
d667ad916e Add wp functions
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
f5927ea8ab Use camel case in new variables
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
4e75bcd296 Implement API for Premium plugin installation and activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
d0292f8624 Convert variable names to camel case in PHPDoc
[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
9a8a353095 Fix PHPStan errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
613e40d765 Fix linter errors
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
75f1e97ee3 Make sure we use the correct type for wp functions
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
ad899e436c Add heading content
[MAILPOET-2278]
2019-10-18 09:41:34 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
270a5fc219 Fix parsing IPv6 in WP 4.7 and 4.8
Code copied from https://developer.wordpress.org/reference/classes/wpdb/parse_db_host/

[MAILPOET-2289]
2019-09-09 13:50:07 +01:00
45e1779a07 Remove callable typehint
Because we need to pass an array and that doesn't work

[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
69e9b099d8 Prevent showing WC Customers UI to new WC website
[MAILPOET-2206]
2019-08-27 21:48:46 -04:00
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