Commit Graph

81 Commits

Author SHA1 Message Date
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
317db5cff7 More readable code
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
f81083e046 Add wc_get_product function to WC helper
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
42f43e96e1 Allow <del> element in editor to correctly format discounted product
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
6fd9c69a27 Always show product image in editor
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b40e4bb28a Use WC functions to get short and full description in products widget
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b131afa73e Update products display options - add price property
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
51de087c01 Remove top padding for ALC & Post block titles
[MAILPOET-1701]
2019-03-29 11:44:22 -04:00
92a2934e51 Replace double quotes with unicode alternative
[MAILPOET-1937]
2019-03-28 12:50:22 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
4ff8e4031a Move getImageInfo to PostTransformer 2019-03-07 08:30:14 -05:00
c8f2ff7f30 Update condition for better readability
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
6d3beaa45d Render post position
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a935b091d3 Add space between elseif/else 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
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
eb1376eeef Fix post images detection in editor
MAILPOET-1756
2019-01-25 09:42:04 +01:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
3a26049270 Add missing array & class typehints
[MAILPOET-1684]
2019-01-08 14:48:05 +01:00
08a2fa8f8f Split transform tags code to multiple methods
[MAILPOET-1684]
2019-01-08 14:47:19 +01:00
0d80d7492a Filter out <figure> tags without images
[MAILPOET-1684]
2019-01-08 09:34:03 +01:00
88f14575dc Use image alignment from <figure> or <img>
[MAILPOET-1684]
2019-01-08 08:48:46 +01:00
4d97a2f6a7 Extract nested img element more safely
[MAILPOET-1684]
2019-01-08 08:48:46 +01:00
0c7c725629 Simplify code transforming images from posts
[MAILPOET-1684]
2019-01-08 08:48:46 +01:00
wxa
0573a7915e Merge pull request #1689 from mailpoet/wp-functions
Encapsulating WP calls
2018-12-27 11:05:08 +03:00
28356a522a Fix images without dimensions being given size of 0
[MAILPOET-1680]
2018-12-12 17:32:41 +01:00
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
cb8d532d64 Fix ALC rendering of posts to have a padded title
[MAILPOET-1558]
2018-11-05 15:33:48 +01:00
35825c3432 Fix spacing between paragraphs in full post [MAILPOET-1455] 2018-07-10 14:26:36 +02:00
4fba615d30 Fix rendering of posts in newsletter [MAILPOET-1416] 2018-06-25 12:45:45 +02:00
bb579370a8 Fix list ALC preview
[MAILPOET-1404]
2018-06-14 15:28:08 +01:00
b36537a4e8 renderer: Processing Post without layout renders featured_image only for excerpt display type [MAILPOET-1409] 2018-06-08 17:05:37 +02:00
62fd56400b renderer: Fixed notice in PostTransformer for older data without 'withLayout' property [MAILPOET-1409] 2018-06-08 17:02:03 +02:00
b9ce9ecf28 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 10:19:39 +02: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
67b66856f5 removing images and headings from the excerpt 2018-06-01 11:21:59 +00:00
6914a9c224 excerpt are now displayed 2018-05-30 09:15:14 +00:00
88be42fea1 fixing naming issues 2018-05-28 10:33:13 +00:00
2215b53141 removing top padding from excerpt text 2018-05-24 07:44:41 +00:00
5b077cfb54 adding styles to containers 2018-05-23 10:39:08 +00:00
0a298f5fad creating new ALC block and widget 2018-05-23 07:42:30 +00:00
d7ab03b1c7 rewrite PostTransformer to return old or new structure depending on the newVersion attribute 2018-05-23 05:15:40 +00:00
72c3f763ec Removes shortcodes from full post content 2017-11-14 13:17:47 -05:00