Commit Graph

1479 Commits

Author SHA1 Message Date
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
Mike Jolley b883e92ba1 Fix from .14 2013-09-05 14:52:34 +01:00
Mike Jolley ffa53754ac get_categories returns string Closes #3720 2013-09-04 14:57:12 +01:00
Mike Jolley aef58e8bf3 Merge pull request #3697 from BFTrick/fix-email-html-encoding
Removing HTML Decoding From Email From Name
2013-09-04 06:50:20 -07:00
Mike Jolley 14e27bb073 Fixes from .14 2013-09-04 14:32:16 +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
Mike Jolley 807534095e Introduce WC_HTTPS Helper to handle redirects and make checkout urls https before visiting them. Fixes #3311 2013-09-03 13:03:05 +01:00
Patrick Rauland fe4b13d36d removing html decoding from email from name 2013-08-27 12:23:42 -05:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01: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 9ce810fdcf Needs shipping filter 2013-08-14 10:53:08 +01:00
Mike Jolley d021980c10 Rather than have hooks *everywhere* use a single set stock function in admin and on the frontend Closes #3593 2013-08-13 16:56:09 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Illimar Tambek 27ed699ea7 Prefix stock hooks with product_ 2013-08-01 15:09:15 +03:00
Illimar Tambek 40ee077624 Add woocommerce_set_stock, woocommerce_increase_stock and woocommerce_reduce_stock action hooks 2013-08-01 15:06:26 +03:00
Juan Jose Gonzalez Alanis 1339426164 Fixed "Strict Standards" warning on the process_payment() declaration of the WP_Payment_Gateway class. 2013-07-24 13:24:52 +02:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley 805a9e617c Use get_price and introduce get_regular and get_sale_price methods. Closes #3427 2013-07-23 11:29:04 +01:00
Mike Jolley a5aa58b135 Allow iframe html to be input for sharethis. Closes #3254. 2013-07-19 07:54:51 +01:00
Mike Jolley a9569ccd6f Only allow those who can edit the post to add drafts to cart. For testing. Closes #3381 2013-06-28 11:14:21 +01:00
Mike Jolley 9d37e5bf92 Stripslashes 2013-06-22 11:43:57 +01:00
Mike Jolley 2db3d24a82 Enforce session as array data, and settings api tweak for special chars. Closes #3135. 2013-06-14 14:42:28 +01:00
Mike Jolley f87505b445 Rounding tweaks 2013-06-13 17:01:47 +01:00
Mike Jolley 60bc15e61f Session class improvements - get and set + defaults 2013-06-11 15:59:23 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00