Commit Graph

127 Commits

Author SHA1 Message Date
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 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
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
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 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
mindmantra 8cb0e42551 Add $this context to woocommerce_email_styles filter.
see: #23026
2019-03-14 12:13:55 +05:30
Mike Jolley ff7a941235 Set reply-to address for all emails 2019-03-08 15:55:56 +00:00
Mike Jolley 3463f37f49 Add additonal content setting to each email 2019-03-04 16:33:05 +00:00
Mike Jolley 64bc5c2e99 Define commonly used placeholders in main class 2019-03-04 15:30:56 +00: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
claudiulodro 38324edc71 Only wordwrap plain emails 2018-07-06 13:29:01 -07:00
Mike Jolley 217e825e22 supports_emogrifier 2018-06-15 12:43:27 +01:00
Rodrigo Primo 6f7d34d11e Fix phpcs violations in includes/emails/class-wc-email.php 2018-03-07 14:27:56 -03:00
Rodrigo Primo 575e095190 Fix PHPCS violations in includes/emails automatically using phpcbf 2018-03-07 11:15:17 -03:00
Mike Jolley 7a68cb9c12 Update regex 2018-02-20 16:04:42 +00:00
Mike Jolley 0cda2dba82 Convert more dollar entries for plain text emails 2018-02-20 16:04:42 +00:00
Caleb Burks c21cc2e8fe Replace “Cheatin’ uh?” with friendlier messages 2018-02-07 17:01:12 -05:00
Umangvaghela 10fe92cfc1 Fix-minor-changes 2017-10-16 16:33:12 +05:30
Mike Jolley 6647b35585 Restore blogname placeholder, but do not list in admin
Closes #17200
2017-10-13 17:42:12 +01:00
Clifford 1474350f0f Correct docblock @return
From incorrect `string` to correct `array`
2017-10-10 10:31:16 -05:00
Mike Jolley 11d6b4e7d8 Ensure we have arrays in find/replace
Closes #16778
2017-09-14 17:37:23 -07:00
Boro Sitnikovski d0db4c6934 Reintroduce find and replace variables 2017-09-07 09:58:54 +02:00
Mike Jolley 10a873a808 Remove find/replace definition 2017-09-06 10:52:45 +01:00
Mike Jolley cbe4e26c97 Legacy find/replace handling
Closes #16705
2017-09-05 10:15:32 +01:00
Mike Jolley 21bd0e5397 Better handling for legacy email find/replace filters
Closes #16659
2017-08-31 12:21:02 +01:00
Mike Jolley 05dc9d3c0f Improve email directory writable checking
Closes #16539
2017-08-21 11:32:21 +01:00
sergey.r 62d078edf5 Add filters to make possible send emails in language different from default 2017-08-03 14:58:44 +03:00
Claudio Sanches cb3e1de0be Fixed coding standards 2017-07-20 18:14:53 -03:00
Mike Jolley 28cb0909c8 Add placeholders array used in descriptions and for find and replace
Fixes #16156
2017-07-19 14:25:00 +01:00
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Claudio Sanches 7a4b68f551 It's clear that is a subject for an email 2017-06-14 14:01:12 -03:00
Mike Jolley c3ee9a77f5 Tweak tips and placeholders for all emails 2017-06-14 17:50:17 +01:00
Claudio Sanches e3b7e4e566 Use placeholders and description to inform the default values 2017-06-14 13:13:43 -03:00
Claudio Sanches 62c65e778b Restored emails settings default values
Closes #15574
2017-06-13 20:00:50 -03:00
Mike Jolley 67a0637417 Advanced locale switching 2017-06-05 14:18:39 +01:00
Mike Jolley 260cfce497 Format strings 2017-06-02 18:44:43 +01:00
Mike Jolley adc679633b Handle default subjects and headings at time of sending, not in constructor 2017-06-02 18:25:05 +01:00
claudiulodro 73b7b2d91b Typo 2017-05-16 06:31:52 -07:00
claudiulodro 19047ffb00 Better way of doing it 2017-05-15 18:09:24 -07:00
claudiulodro 838b175f67 Use store language in customer emails 2017-05-15 14:34:37 -07:00
Mike Jolley a4ad49a8e3 Only set reply-to if the email + name is set.
Closes #14151
2017-05-08 12:50:39 +01:00
Mike Jolley bbf8e750ce Tidy up includes 2017-02-16 11:46:01 +00:00
Claudio Sanches 9c27661dea Synchronized with master 2017-01-12 17:53:15 -02:00