Commit Graph

33 Commits

Author SHA1 Message Date
Rodrigo Primo 3fc20c31be Fix phpcs violations in includes/emails/class-wc-email-customer-reset-password.php 2018-03-07 14:27:17 -03:00
Rodrigo Primo 575e095190 Fix PHPCS violations in includes/emails automatically using phpcbf 2018-03-07 11:15:17 -03:00
Alex MacArthur e01385d2b4 Remove user login from reset password link. 2018-02-22 06:58:18 -06:00
Mike Jolley 79ef09d293 Setup locale before generating placeholders
Closes #17324
2017-10-24 14:06:21 +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 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 bbf8e750ce Tidy up includes 2017-02-16 11:46:01 +00: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 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Fredrik Forsmo 81bc211c57 Add `public` keyword to public email methods 2016-04-26 18:26:58 +02:00
Fredrik Forsmo c60f327e5f Improve docblock comments in WC_Email_Customer_Reset_Password class
* Added better comments to properties.
* Added comments to `get_content_plain` and `get_content_html`
* Added missing param tag to `trigger`
2016-01-05 19:36:44 +01:00
Mike Jolley 6cb11d5cc0 Use wc_get_template_html 2015-12-04 13:39:57 +00:00
Mike Jolley b5a2c2a9d5 Unify all order email tables to use a single template
Closes #9587

@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00: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
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
Kathy Darling f893d73af6 pass email object to email templates and template hooks 2015-10-31 23:04:59 -05:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Nicola Mustone d2af01df5b scrutinizer suggested tweaks 2015-03-27 16:15:40 +01:00
Mike Jolley f3cc45cfa9 Grammar corrections
Closes #7216
2015-01-28 17:15:48 +00:00
Bryce 96ba418d5c remove var keyword in WC_Email_Customer_Reset_Password 2014-12-16 18:40:51 +07:00
shivapoudel 5e09f15c91 Absolute path and Indentation fix for includes/emails/*.php :) 2014-09-21 01:15:40 +05:45
Mike Jolley b2ddcf29cf Set keys for find/replace to prevent duplicate keys
Fixes #5168
2014-05-30 10:42:47 +01:00
Mike Jolley e15c572465 Better handling for sent to admin/plain text args Closes #4359 2014-01-08 15:04:49 +00:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
Mike Jolley 7fb60ccc99 blogname is the actual option, but WP terminolgy in settings is "Site Title".
Closes #3952
2013-10-23 15:57:14 +01:00
Mike Jolley 223f862750 Tweak email inclusion 2013-08-02 11:18:05 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00