Commit Graph

5565 Commits

Author SHA1 Message Date
Brent Shepherd f9a42a497d Pass instance of WC_Order to its filters
So that extensions hooking to the filters know which order the current
filter is being applied to and can perform customisation on specific
orders (not just all orders).

Conflicts:
	includes/class-wc-order.php
2013-09-02 14:31:11 +02:00
Mike Jolley 345ae3248f Merge pull request #3686 from GeertDD/ignorelogs
Ignore all log files except for .htaccess
2013-09-02 05:27:25 -07:00
Mike Jolley 8a530b87bc Merge pull request #3710 from drrobotnik/doc
correctly point to woocommerce_before_single_product_summary
2013-09-02 05:23:25 -07:00
Renato Covarrubias 6cae291e3b Merge branch 'master' of https://github.com/rnt/woocommerce 2013-08-31 14:46:48 -04:00
Renato Covarrubias f570fea67c If is executed from shell, generate output for shell. ;) 2013-08-31 14:46:25 -04:00
Renato Covarrubias 5f38c2d973 Merge remote-tracking branch 'upstream/master' 2013-08-31 12:23:11 -04:00
Brandon Lavigne 84bbe816b6 fix doc label to correctly point to woocommerce_before_single_product_summary 2013-08-30 15:24:45 -07:00
Coen Jacobs a50b5fef49 Minor Dutch translation bump, we need GlotPress 2013-08-28 20:37:11 +02:00
Patrick Rauland fe4b13d36d removing html decoding from email from name 2013-08-27 12:23:42 -05:00
Patrick Rauland c074d64096 making sure the user doesn't submit garbage to woocommerce_sort_product_tabs 2013-08-27 10:40:21 -05:00
Coen Jacobs 9ba80fb34b Check for strlen to allow 0 values in attributes. Closes #3675
Conflicts:
	admin/post-types/writepanels/writepanel-product_data.php
2013-08-26 12:24:25 +02:00
Geert De Deckere 28c229d7b2 Ignore all log files except for .htaccess 2013-08-26 12:09:22 +02:00
Renato Covarrubias 78ee1dbb7a Updating woocommerce-admin es_ES 2013-08-26 00:49:14 -04:00
claudiosmweb f8e5a6b3ed added editorconfig 2013-08-25 16:11:19 -03:00
claudiosmweb 92b8dc48fa fixed indentation 2013-08-25 16:04:16 -03:00
claudiosmweb 78504f5373 update inline documentation in content-product.php and content-single-product.php 2013-08-25 16:02:44 -03:00
Adrian Dimitrov a44ec58746 Adding support for percentage factor of additional costs. 2013-08-25 14:59:58 +03:00
Renato Covarrubias 5286c3b927 I <3 run this from shell: php index.php generate 2013-08-24 21:19:56 -04:00
Renato Covarrubias 16cabda703 Base pot update 2013-08-24 21:09:48 -04:00
Mike Jolley 5efb976035 Make API url function work when permalinks are not pretty
@coenjacobs for .14 too
2013-08-23 20:29:24 +01:00
Mike Jolley fdbaac0acd Include template hooks early Fixes #3664 2013-08-23 16:58:19 +01:00
Mike Jolley 64d87cbef7 Make logout an endpoint. Still hide it from menus. Fixes #3589
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley 5289193021 Echo or return current page title. Closes #3660 2013-08-23 14:54:38 +01:00
Mike Jolley 27053e1abd escaping 2013-08-22 17:20:28 +01:00
Mike Jolley c534f26126 Addon layout fix 2013-08-22 12:38:08 +01:00
Mike Jolley 153541f5d5 Merge pull request #3665 from dimitrov-adrian/master
Adding Bulgarian states.
2013-08-22 04:25:51 -07:00
Mike Jolley 6902aa852c Fix fatal error when sending order mail 2013-08-22 12:25:32 +01:00
Mike Jolley 27f844b274 Key value pairs for order_meta 2013-08-22 12:25:17 +01:00
Mike Jolley 126068de8c Moved options around for checkout settings. 2013-08-22 12:11:19 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Adrian Dimitrov c5f7d46109 Adding Bulgarian states. 2013-08-22 12:01:40 +03:00
Mike Jolley 7cca0658ce Merge pull request #3655 from ecoreng/patch-1
Date format error fixed
2013-08-21 14:03:42 -07:00
Mike Jolley 4c06169c8d Merge pull request #3656 from dimitrov-adrian/patch-2
Adding BGN currency and currency symbol.
2013-08-21 14:03:31 -07:00
Mike Jolley ebecabd88f Merge pull request #3659 from dimitrov-adrian/patch-3
Some language corrections.
2013-08-21 14:02:21 -07:00
Mike Jolley 3d22c25ec5 Merge pull request #3661 from BFTrick/add-vietnamese-currency
Add Vietnamese Dong Currency
2013-08-21 13:54:15 -07:00
Patrick Rauland fa6814c03d adding Vietnamese dong currency 2013-08-21 12:24:51 -05:00
James Koster 71bf3bf5c8 download icon 2013-08-21 16:43:05 +01:00
Adrian Dimitrov 4229d64819 Some language corrections. 2013-08-21 17:56:16 +03:00
Adrian Dimitrov c8fe103cd0 Adding BGN currency and currency symbol. 2013-08-21 10:29:44 +03:00
ecoreng 02f05cf863 Date format error fixed
Previous format displayed (when the timezone is set to America/Tijuana):
Martes 20th dAmerica/Tijuana agosto 2013, 05:53pm

New format displays:
Martes 20 de agosto 2013, 05:53pm

Adding .st, .nd, .rd, .th next to the number is not correct in spanish.
2013-08-20 18:04:06 -07: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 5f2e489944 simpler woocommerce_get_product_schema function.
Closes #3297.
2013-08-20 13:52:06 +01:00
Mike Jolley aa470ad390 refactor args for woocommerce_product_dropdown_categories
Closes #3218
2013-08-20 13:32:38 +01:00
Mike Jolley 40a1cb446e Tweak label Closes #3515 2013-08-20 12:57:43 +01:00
Mike Jolley 7dee6790eb Check sale price against active price, optimise woocommerce_get_product_ids_on_sale
Fixes #3563
2013-08-20 12:52:17 +01:00
Mike Jolley f8be510462 Merge pull request #3650 from dimitrov-adrian/patch-1
Some language corrections.
2013-08-20 04:31:09 -07:00
James Koster f0b10b3a5c created woo logo icon 2013-08-20 12:25:43 +01:00
Adrian Dimitrov 38e53ead84 Some language corrections. 2013-08-20 14:23:06 +03:00
Mike Jolley f0853d5208 Pass text attributes when ordering again Fixes #3422 2013-08-20 12:17:56 +01:00
James Koster 694199b2b2 !important declarations in messages. closes #3649 2013-08-20 11:54:15 +01:00