Commit Graph

298 Commits

Author SHA1 Message Date
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Christopher Allford 452e53d8af
Merge pull request #25630 from woocommerce/fix-25603
Replace {site_address} by {site_url} for consistency
2020-05-11 19:43:08 -07:00
vedanshujain 6612d1f859 Prune elements with display none to fix regression.
In an earlier emogridier version (til WC 3.9.3) this was happening by
default, however now we have to do this explicitly since we update
emogrifier to > 3.x.
2020-04-03 13:47:04 +00:00
Claudio Sanches 37a949f7bd Fixed coding standards 2020-04-01 14:56:04 -03:00
Rodrigo Primo e39db20eca
Add woocommerce_emogrifier action (#25829)
* add woocommerce_emogrifier action

* fix formating issue

* fix formating, again :"
;
2020-03-05 14:02:29 -03:00
Remi Corson c9092d5dbf backwards compatibility 2020-02-11 16:35:40 +01:00
Remi Corson 89f07da20d Replace {sitde_address} by {site_url} for consistency
Replace {sitde_address} by {site_url} for consistency in WooCommerce emails, for better consistency.
2020-02-11 10:46:32 +01:00
Claudio Sanches 6d123e0cc3 Tweaks on style inline method 2020-02-04 16:27:20 -03:00
Claudio Sanches 382e17817a Use Emogrifier composer package 2020-01-29 15:57:22 -03:00
Claudio Sanches d9c22d60be Use wp_mail() default args in WC_Email 2020-01-15 13:33:12 -03:00
Rodrigo Primo 94373f78ea Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf 2019-12-20 13:51:26 -03:00
Rodrigo Primo 193395ddf5 Simplify and modernize two methods
This commit replaces calls to call_user_func_array() with argument unpacking using the spread operator that was added in PHP 5.6 in the following methods:

- WC_Admin_Setup_Wizard::run_deferred_actions()
- WC_Mail::send()
2019-11-22 15:25:08 -03:00
Rodrigo Primo e292e95542 Update WPCS rule name that was change after an update 2019-11-21 12:17:10 -03:00
Claudio Sanches 3d73025fa4 Fixed description of failed order email 2019-10-01 13:55:45 -03:00
Rodrigo Primo 2f93d3a2f7
Merge pull request #24535 from woocommerce/fix/22939-2
Fixed incorrect docs URL for failed order emails
2019-09-25 20:42:24 -03:00
Rodrigo Primo 281cbf4119
Merge pull request #24399 from Jon007/patch-3
add $this param to woocommerce_email_additional_content_
2019-09-24 17:56:59 -03:00
Claudio Sanches a7cd0c1fff Fixed incorrect docs URL for failed order emails 2019-08-29 17:31:10 -03:00
Claudio Sanches 2c02d21277 Remove Emoji from default additional email content 2019-08-20 11:54:21 -03:00
Jonathan Moore d88fdb6adf
add $this param to woocommerce_email_additional_content_
add $this param to woocommerce_email_additional_content_ filter to be consistent with 'woocommerce_email_subject_' .  and 'woocommerce_email_heading_' .  filters.
2019-08-14 08:02:04 +01:00
Gerhard 7484bd9199 Remove duplicate tooltip text 2019-08-07 17:49:38 +02:00
Gerhard 52ef1d0b5f Remove esc_html call, it messes with the code tags. 2019-07-04 11:33:05 +02:00
Claudio Sanches edd0e7de8c Bump template versions 2019-05-21 17:53:03 -03:00
Claudio Sanches 4a99a11009 Merge branch 'master' into update/22895 2019-05-21 17:46:16 -03:00
Ewout Fernhout ca00798dd1
add $this to invoice email filters 2019-04-09 15:24:17 +02:00
Ewout Fernhout 6e2f1736ce
add $this to refunded order email filters 2019-04-09 15:22:26 +02:00
Ewout Fernhout fafc829c4d
Add $this parameter to email class hooks
see #23209
2019-04-09 15:19:21 +02:00
Mike Jolley ded4f8bf3e Use string to avoid 5.2 warning 2019-03-27 11:35:45 +00:00
Mike Jolley b09a5f8003 Update Emogrifier 2019-03-26 14:24:21 +00:00
Gerhard Potgieter fbb18db896
Merge pull request #22971 from woocommerce/fix/22958
Reword cancelled email
2019-03-14 10:07:12 +02:00
mindmantra 8cb0e42551 Add $this context to woocommerce_email_styles filter.
see: #23026
2019-03-14 12:13:55 +05:30
Mike Jolley 4b077a22e8 Remove customer name 2019-03-13 14:40:37 +00:00
Mike Jolley a44cba5923 Update subject 2019-03-13 14:38:04 +00:00
Mike Jolley ff7a941235 Set reply-to address for all emails 2019-03-08 15:55:56 +00:00
Mike Jolley 17a4c6e28a Set all default content values 2019-03-04 16:56:40 +00:00
Mike Jolley 6f3181ccfb Settings in admin emails 2019-03-04 16:39:49 +00:00
Mike Jolley 9fd785baa2 Pass additonal content to content functions 2019-03-04 16:38:18 +00:00
Mike Jolley 3463f37f49 Add additonal content setting to each email 2019-03-04 16:33:05 +00:00
Mike Jolley 5d41d753b3 Added additional_content to invoice email 2019-03-04 15:40:20 +00:00
Mike Jolley 64bc5c2e99 Define commonly used placeholders in main class 2019-03-04 15:30:56 +00:00
Mike Jolley 759424a5fb
Merge pull request #22394 from fitimvata/master
Add filters for mail callback in WC_Email::send method.
2019-01-21 16:00:10 +00:00
Gerhard 4c6da744fe PHPCS fixes 2019-01-11 14:30:13 +02:00
Gerhard 77537d2cd3 Update copy for processing order emails to not mention payment as some stores take payment after orders are placed. 2019-01-11 14:29:21 +02:00
Fitim a50f279816 Add filters for mail callback and mail callback params in WC_Email::send method 2019-01-09 12:28:32 +01:00
Claudiu Lodromanean 07351d5e11
Merge pull request #21288 from woocommerce/update/humanize-emails
Humanize emails
2018-09-12 07:51:07 -07:00
Gerhard Potgieter 5f7b833844 Add missing # before order numbers and escape properly 2018-09-12 12:24:27 +02:00
Gerhard Potgieter d7cb15c8f8 Update email copy based on https://github.com/woocommerce/woocommerce/pull/21288#issuecomment-420251277 2018-09-12 11:30:53 +02:00
Gerhard Potgieter dccc0d5461 Restore space 2018-09-07 10:33:20 +02:00
Gerhard Potgieter 3b57bf7051 Fix invoice escaping 2018-09-07 09:54:31 +02:00
Gerhard Potgieter ace541910d Shopping not shipping :) 2018-09-07 09:03:47 +02:00
Gerhard Potgieter 866aab0ead New accout email copy changes 2018-09-06 14:38:43 +02:00