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
cfe28c9b25
Made WC_Logger pluggable via wc_get_logger function.
...
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley
f8db1c403f
Type casting and docs
2016-06-07 11:22:36 +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
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
Mike Jolley
aa12bed150
Translate during format_string rather than all options
...
Fixes #10243
2016-02-05 12:44:43 +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
Yoni Mazuz
9e5098627c
Fix woocommerce_email_from_* filtering
...
- apply filters before sanitizing
- send entire $this as argument so hooked functions can access any properties of the WC_Email (subclass) instance
2015-11-20 13:00:37 -05:00
Yoni Mazuz
afb19228a9
Add filters for From name/address to WC_Email ( #9653 )
...
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- these allow return address info to be set conditionally, unlike
wp_mail_from and wp_mail_from_name, which don’t pass any context to
hooked functions
2015-11-19 14:37:50 -05:00
Mike Jolley
1b38f380af
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Mike Jolley
8457dbb57d
Display if emails are manually sent
2015-11-03 15:40:10 +00:00
Mike Jolley
3c6a870335
Email class tidyup
2015-11-03 14:57:39 +00:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
5f65494e27
Restructure emails admin to avoid listing emails along the top
...
Moves emails to a table on the settings screen.
Also tweaks some section text and moves descriptions to tooltips for a
less cluttered interface.
2015-11-02 16:27:00 +00:00
Mike Jolley
9ac43ec4d4
Cleanup
2015-11-02 13:02:23 +00:00
Claudio Sanches
b091f12393
Fixed some js conding standards
2015-08-05 15:57:15 -03:00
Vignesh
1241dcee69
Removed Commented Code
2015-06-25 21:24:05 +05:30
Mike Jolley
e967c1e01c
Tweak filters - move to format_string
2015-06-22 10:14:21 +01:00
Nicola Mustone
c7e1540dea
added filters for emails placeholders
2015-06-19 17:01:37 +02:00
Claudio Sanches
51c8bbf87c
wrong nonce verification
2015-06-01 13:33:51 +01:00
Ben Bidner
27f1c15900
email templates can only be moved / deleted / edited if the user has `edit_themes` capabilities
2015-06-01 13:26:02 +01:00
Claudio Sanches
65608d3fd0
Added nonces and check capability to copy or delete email templates, closes #5
2015-06-01 13:12:25 +01:00
Mike Jolley
bd7624e5b7
Check template code isset
2015-05-29 17:40:53 +01:00
Claudio Sanches
5c2b14d89f
Standardise case of some strings closes #8125
2015-05-27 12:53:04 -03:00
Mike Jolley
7254e45edc
Remove notice fade class Closes #8096
2015-05-05 13:28:08 +01:00
investonline_joost
eed9332adf
Bugfix: The old regex rule selects more then the unknown/unhandled entities. Plain-text email are missing content because the text is stripped out.
2015-04-23 15:55:29 +02:00
Nicola Mustone
dedd92d4e6
wrong comments
2015-03-27 17:11:25 +01:00
Nicola Mustone
1275346360
typo
2015-03-27 17:10:00 +01:00
Nicola Mustone
4867d635c0
fix save_template code
2015-03-27 16:59:25 +01:00
Nicola Mustone
0466fcb4e2
split process_admin_options for WC_Email
2015-03-27 16:51:30 +01:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00
Max Rice
7a4360eaf5
Catch Emogrifier Exceptions
...
Emogrifier throws various exceptions for invalid input, etc. that
currently are not caught anywhere, causing fatal errors or unexpected
behaviors in other plugins. This commit fixes that by catching all
exceptions and logging them.
2015-03-08 19:45:05 -04:00
Claudio Sanches
1a45a447b0
Fixed the true-null-false case
2015-02-18 15:34:03 -02:00
Claudio Sanches
28bf06b702
Improved the woocommerce_email_get_option filter, closes #7464
2015-02-18 00:28:26 -02:00
Mike Jolley
35a3de03d5
Move WC_Email docblock and add class exists check
...
Closes #7399
2015-02-13 16:54:15 +00:00
Claudio Sanches
94e1a4bf6a
Just check for DOMDocument
2015-02-13 12:54:10 -02:00
Claudio Sanches
e778d26764
Created a method to test if have an inline css parser
2015-02-13 12:22:53 -02:00
Claudio Sanches
5d80f3e5cd
Use plain text emails when dont have support for DOMDocument class
2015-02-13 12:16:58 -02:00
Claudio Sanches
6ca681ce86
Added new filters to help translation plugins, closes #7338
2015-02-10 10:51:44 -02:00
Claudio Sanches
afb19715d4
Prevented XSS in urls
2015-01-29 12:33:06 -02:00
Claudio Sanches
9a6dc0bf41
Added select2 for all settings fields
2015-01-12 15:45:47 -02:00
Claudio Sanches
37ea5ee65a
Fixed email styles for multipart emails, closes #7033
2015-01-02 10:55:47 -02:00
Claudio Sanches
951c70de7e
Allows custom directory for email templates
...
cc @SiR-DanieL
2014-12-03 01:30:28 -02:00