Commit Graph

22 Commits

Author SHA1 Message Date
Mike Jolley 97dd163c5e Fix ampersands in plan text Closes #4799 2014-02-14 15:37:30 +00:00
Mike Jolley 0d52064bd8 Attachments is an array Closes #4531 2014-01-20 15:33:33 +00:00
Aristeides Stathopoulos c5c340588e Minor bugfix, missing comma
Missing comma causing errors in some cases
2014-01-07 22:14:35 +02:00
PURPORC d18bff3f5b Update abstract-wc-email.php
Adds a plain text replacement for the dollar sign encoded as html entity.
2014-01-06 18:39:41 +11:00
Mike Jolley 685403dc30 wordwrap #4397 2014-01-03 14:13:18 +00:00
Gregory K 43ca01badc PhpDocs and TODO comments 2013-11-28 12:59:09 -05:00
Gregory K cac9d12bf9 PhpDocs 2013-11-28 07:54:19 -05:00
Gregory K dd5a2fb334 PhpDocs 2013-11-27 13:20:31 -05:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Andrew Benbow 2d03022b76 Brace all the things 2013-11-24 10:24:12 +00:00
Coen Jacobs b9b9f3a49e Fixed docs for enabled params (string, not bool), closes #4052 2013-11-04 11:29:20 +01:00
RistoNiinemets ff26037372 replace function with new filter 2013-10-29 20:16:12 +02:00
RistoNiinemets fcaaa129f2 use wooocommerce_locate_template
This allows woocommerce_locate_template filter to work on admin also
2013-10-26 13:32:38 +03: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
Gabriel Reguly a5f2b01219 Fixes blank page error
Fix to avoid blank page error, apparently prevents a memory exausted condition.

Error source: 
http://wordpress.org/support/topic/blank-page-after-return-form-cielo-buypage?replies=15

Some info:
http://stackoverflow.com/questions/8379829/domdocument-php-memory-leak

Another people using the same code: http://nathanstaines.com/articles/wordpress-word-count/

Cheers,
Gabriel
2013-09-14 00:42:03 -03:00
Mike Jolley 519c24a540 Merge pull request #3653 from pixeltrix/add-email-style-inline-filters
Add hooks for overriding default email inline styles
2013-09-13 03:15:55 -07:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Patrick Rauland 793303d2ad adding esc_html back in to properly escape html from email from name 2013-09-04 07:24:01 -05:00
Patrick Rauland 80fc4ab0a7 allowing quotes in store name 2013-09-03 17:11:03 -05:00
Patrick Rauland fe4b13d36d removing html decoding from email from name 2013-08-27 12:23:42 -05:00
Andrew White e05e970d6a Add hooks for overriding default email inline styles
Currently any h1, h2, h3, a and img tags in a HTML email without a
style attribute will have a default inline style applied to them.
These styles are hard-coded and cannot currently overridden without
patching the source code.

This commit adds two filter hooks that allows the theme developer to
override both the list of tags that have a default style applied to
them and the default styles applied to each tag. The hooks are:

1. woocommerce_email_style_inline_tags
This filter hook returns an array of tags which will have a default
style applied to them - you can both remove and add any tags which
you need for your theme's custom emails.

2. woocommerce_email_style_inline_{name}_tag
This filter is called for every tag name returned by the filter hook
woocommerce_email_style_inline_tags. The styles are passed as an
associative array so you can both add and remove any of the default
styles applied by WooCommerce.

Fixes #3597.
2013-08-20 23:33:26 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00