Mike Jolley
79ef09d293
Setup locale before generating placeholders
...
Closes #17324
2017-10-24 14:06:21 +01:00
Umangvaghela
10fe92cfc1
Fix-minor-changes
2017-10-16 16:33:12 +05:30
Mike Jolley
7b67d2d9a9
Remove # before order number to match 3.1
2017-10-13 19:37:03 +01:00
Mike Jolley
6647b35585
Restore blogname placeholder, but do not list in admin
...
Closes #17200
2017-10-13 17:42:12 +01:00
Mike Jolley
c2c213fe05
Include date in customer emails again
2017-10-13 15:09:21 +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
Claudio Sanches
af4c8b4d34
Merge pull request #16186 from woocommerce/fix/16157
...
Fix copy pasta errors in refunded email template
2017-07-19 10:52:23 -03:00
Mike Jolley
16870c9c25
Fix copy pasta errors in refunded email template
...
Closes #16157
2017-07-19 14:30:47 +01: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
Mike Jolley
23315a6930
Add failed to processing for the processing email
...
Fixes 15365
2017-05-31 10:12:24 +01:00
Mike Jolley
067489b155
Cancelled email should be send for processing orders, not pending.
...
Fixes #15163
2017-05-19 10:45:26 +01:00
claudiulodro
73b7b2d91b
Typo
2017-05-16 06:31:52 -07:00
claudiulodro
46b9190c9f
Remove extra restore_locale
2017-05-15 18:11:23 -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
05e6c506ce
Email dates
2017-03-10 16:29:15 +00:00
Claudio Sanches
486a81bf12
Fixed coding standards
2017-02-17 16:10:15 -02:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
b58e26b0ab
Backwards compatibility for triggers
...
Closes #13141
2017-02-10 13:09:37 +00:00
Claudiu Lodromanean
ab8fb48bb4
Fix and standardize e-mail sending
2017-02-09 14:49:39 -08:00
Mike Jolley
ed51c8ac13
Pass order object to emails
2017-02-01 17:54:47 +01:00
Claudio Sanches
9c27661dea
Synchronized with master
2017-01-12 17:53:15 -02:00
Mike Jolley
76f8c3dddd
Escaping for scruitinizer
2017-01-06 12:45:28 +00:00
Jon Surrell
e4d5886427
Replace log `tag` with log `source`
2016-12-29 11:58:43 +01:00
Jon Surrell
691c35e97b
Update logger calls
2016-12-29 11:58:42 +01:00
Krzysztof Grabania
3a54b24fa1
Added email ID to locate core template for email
...
This PR adds email id to `woocommerce_locate_core_template` filter. It would be useful for custom emails created by plugins, which have got default email templates.
2016-12-28 20:38:51 +01:00
Claudio Sanches
208fa011b9
Fixed deprecated warnings
2016-11-08 19:00:57 -02:00
Claudio Sanches
2de494e105
Merge pull request #12219 from ramiy/i18n-translation-comments
...
i18n: add translators comments
2016-11-03 13:24:35 -02:00
Mike Jolley
32e814eef1
Use all paid statuses in $customer->get_total_spent()
2016-11-03 11:27:03 +00:00
Rami Yushuvaev
55f08d62ae
add translators comments
2016-10-29 23:03:28 +03:00
Rami Yushuvaev
93d55dade9
add translators comments
2016-10-29 20:32:38 +03:00
Rami Yushuvaev
0c1e531091
few more i18n updates ( #12185 )
...
* i18n: simpler translation strings
* i18n: simpler translation strings
* i18n: readble printf(), and moving the %s placeholder to `%s product`
* i18n: make string translatable and remove the HTML tags
* i18n: avoide using HTML tags in translatino strings
2016-10-26 11:31:32 -02:00
Rami Yushuvaev
140d0efb99
i18n: Avoid using HTML tags in translation strings ( #12166 )
...
* i18n: Remove some HTML tags from translation strings
* i18n: simpler translation string
* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string
* i18n: Avoide using `<code>' HTML tags in translation strings
* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Mike Jolley
ec65084451
[2.6] Send processing email on on-hold to processing transition.
...
Closes #12117
2016-10-19 12:55:22 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos
2346c3b735
Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace
2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
69e6b05205
typo fix
2016-08-27 17:10:12 +03:00
Aristeides Stathopoulos
7c589cf7e1
WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis
2016-08-27 07:53:52 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Multidots
41d079f086
Fixes add reply-to to admin emails ref #11630
2016-08-23 13:09:27 +05:30
Multidots
c7fc7cce07
Merge branch 'master' of https://github.com/nishitlangaliya/woocommerce
2016-08-23 12:41:22 +05:30
nishit.langaliya
94ed2fd96d
Fixes: Add reply-to to admin emails ref #11630
2016-08-22 11:42:21 +05:30
Multidots
63c3a979f4
Fixes Add reply-to to admin emails
2016-08-15 16:31:12 +05:30
Mike Jolley
39eb584321
Merge branch 'master' into orders-crud-function-update
2016-08-08 17:24:40 +01:00
Mike Jolley
7bdda1f707
more dates
2016-08-08 16:34:01 +01:00
Mike Jolley
cfe28c9b25
Made WC_Logger pluggable via wc_get_logger function.
...
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley
f4727c0cae
billing_email
2016-08-05 16:11:23 +01:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Gregory Karpinsky
7814acb96e
Typo in WC_Email_Customer_New_Account
2016-07-05 18:48:40 -04:00
Claudio Sanches
8d23577683
Fixed the load of the WC_Email_Customer_On_Hold_Order class, closes #11348
2016-07-04 17:37:16 -03:00
Mike Jolley
f47e9f4af5
woocommerce_order_status_failed_to_on-hold_notification for on hold email
2016-06-09 12:20:57 +01:00
Mike Jolley
f8db1c403f
Type casting and docs
2016-06-07 11:22:36 +01:00
Mike Jolley
730019ef18
scrutinizer best practice
2016-06-06 19:39:23 +01:00
Mike Jolley
3fd15ad50f
Unused vars and code docs
2016-06-06 18:57:24 +01:00
Scrutinizer Auto-Fixer
7cef8ae4c9
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-06-06 16:50:18 +00:00
Claudio Sanches
47fd4af2a3
Fixed WC_Email_Customer_On_Hold_Order version
2016-06-05 17:25:18 -03:00
Fredrik Forsmo
81bc211c57
Add `public` keyword to public email methods
2016-04-26 18:26:58 +02:00
Diego Zanella
ba46a5275f
Backward compatibility with WC 2.5 and earlier
...
* Restored signature of WC_Settings_API::process_admin_options() method.
2016-04-20 08:48:29 +01:00
Mike Jolley
d3ac3f4073
Modals first pass
2016-03-24 17:26:40 +00:00
Shiva Poudel
295a900b03
Is an action hook for phpmailer_init
2016-02-25 16:59:15 +05:45
Justin Shreve
c2d29e4884
Add a back button on the email notification management screens so you can easily get back to the main listing of emails.
2016-02-18 08:46:06 -08:00
Justin Shreve
608f651133
Fix hierarchy on settings screens.
2016-02-18 08:39:02 -08:00
Mehul
9302f3ac6d
template_html & template_plain variables duplicate code in both if and else conditions when there is no change in template files for partial refund or full refund
2016-02-10 15:32:34 +05:30
Mike Jolley
971f6a3dee
Added email for on-hold orders.
...
Closes #9792
2016-02-08 13:20:19 +00:00
Mike Jolley
aa12bed150
Translate during format_string rather than all options
...
Fixes #10243
2016-02-05 12:44:43 +00:00
Mike Jolley
5bae221b33
Merge pull request #9973 from frozzare/docs/class-wc-email-new-order
...
Improve docblock comments in WC_Email_New_Order class
2016-01-06 12:25:44 +00:00
Mike Jolley
0b82d67d4c
Merge pull request #9974 from frozzare/docs/class-wc-email-failed-order
...
Improve docblock comments in WC_Email_Failed_Order class
2016-01-06 12:25:38 +00:00
Mike Jolley
dc67ec8b07
Merge pull request #9975 from frozzare/docs/class-wc-email-customer-reset-password
...
Improve docblock comments in WC_Email_Customer_Reset_Password class
2016-01-06 12:25:33 +00:00
Mike Jolley
a583b5aa27
Merge pull request #9976 from frozzare/docs/class-wc-email-customer-refunded-order
...
Improve docblock comments in WC_Email_Customer_Refunded_Order class
2016-01-06 12:25:23 +00:00
Mike Jolley
81cfc5030f
Merge pull request #9977 from frozzare/docs/class-wc-email-customer-processing-order
...
Improve docblock comments in WC_Email_Customer_Processing_Order class
2016-01-06 12:25:13 +00:00
Mike Jolley
867c807fc3
Merge pull request #9978 from frozzare/docs/class-wc-email-customer-invoice
...
Improve docblock comments in WC_Email_Customer_Invoice class
2016-01-06 12:25:07 +00:00
Mike Jolley
031700b649
Merge pull request #9979 from frozzare/docs/class-wc-email-cancelled-order
...
Improve docblock comments in WC_Email_Cancelled_Order class
2016-01-06 12:24:59 +00:00
Mike Jolley
0beb86c790
Merge pull request #9980 from frozzare/docs/class-wc-email-customer-completed-order
...
Improve docblock comments in WC_Email_Customer_Completed_Order class
2016-01-06 12:24:52 +00:00
Mike Jolley
42c2b1d7e9
Merge pull request #9981 from frozzare/docs/class-wc-email-customer-new-account
...
Improve docblock comments in WC_Email_Customer_New_Account
2016-01-06 12:24:41 +00:00
Mike Jolley
a23dd4ab0a
Merge pull request #9972 from frozzare/docs/class-wc-email
...
Improve docblock comments in WC_Email class
2016-01-06 12:24:27 +00:00
Fredrik Forsmo
e06d8a2a2f
Improve docblock comments in WC_Email class
...
* Added comments to `handle_multipart`, `format_string`, `get_subject`,
`get_heading`, `get_headers`, `get_attachments`, `get_content_type`,
`get_blogname` and `get_content`
2016-01-05 19:42:18 +01:00
Fredrik Forsmo
12c4e48256
Improve docblock comments in WC_Email_New_Order class
...
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:38:19 +01:00