Commit Graph

96 Commits

Author SHA1 Message Date
Mike Jolley 5e07ec0382 $cart_totals should be checked to see if its an array
Closes #6496
2014-10-09 16:50:42 +01:00
Illimar Tambek 97ccd7c50f Do not escape redirect url in form handler 2014-10-01 21:26:35 +03:00
Ryan Stock 4998f88dc5 Fix infinite redirect loop on cart page
Fix for issue #6319:
https://github.com/woothemes/woocommerce/issues/6319
2014-09-19 13:24:31 +10:00
claudiosmweb 063d1eb349 fixed the access permissions 2014-09-01 12:44:51 -03:00
Barry Kooij 94365791af Changed all use of get_product to wc_get_product 2014-08-19 12:09:29 +02:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Mike Jolley 1b41eef5f6 Ensure add-to-cart is not present when redirecting after a deletion.
Fixes #5645
2014-07-29 15:25:43 +01:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
Mike Jolley 50a4c5bd23 Merge branch 'variation-stock-management'
Conflicts:
	includes/class-wc-product-variation.php
2014-06-27 11:15:42 +01:00
Mike Jolley 0f6f04e017 Added wc_stock_amount() core function and replaced intval
#4612
2014-06-25 11:25:28 +01:00
Mike Jolley f1a10c2e70 Fix incorrect variable check when editing address 2014-06-25 11:06:42 +01:00
Mike Jolley 8834679d93 Don't validate empty fields 2014-06-20 10:28:04 +01:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley 309f700283 has_status 2014-06-03 10:45:33 +01:00
Mike Jolley e0a74fffc4 implement is_status() 2014-05-30 17:43:21 +01:00
Mike Jolley fca32a98de Implement is_status functions and update_status 2014-05-30 17:16:22 +01:00
Mike Jolley e198ee517a Made stateless classes static to allow unhooking of hooks
Closes #5151
2014-05-28 14:52:50 +01:00
claudiosmweb 79a8986f06 added the possibility to translate the edit-address endpoint slugs, closes #4820 2014-04-24 18:18:41 -03:00
Mike Jolley c09f710775 Merge pull request #5334 from ragulka/valid-order-statuses-improvements
Valid order statuses improvements
2014-04-23 15:07:15 +01:00
splashingpixels fde72164a4 added a check for current password on password change closes #5177 2014-04-22 12:01:57 -07:00
Illimar Tambek cbfd17437c Use `woocommerce_valid_order_statuses_for_payment` in `pay_action` too
Even though it was possible to filter the statuses in my-order.php and other places,
it was not possible in the actual pay action.
2014-04-17 19:27:39 +03:00
splashingpixels cc86fcc775 removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318 2014-04-13 23:29:22 -07:00
Coen Jacobs 4afeb7926c Merge branch 'refs/heads/2.1'
Conflicts:
	i18n/languages/woocommerce-admin.pot
	i18n/languages/woocommerce.pot
	includes/class-wc-form-handler.php
	package.json
	readme.txt
	templates/checkout/form-shipping.php
	templates/emails/email-addresses.php
	woocommerce.php
2014-04-10 16:42:08 +02:00
splashingpixels afc17dad40 myaccount registration added check for auto generate password option 2014-04-10 13:47:34 +01:00
Andrew Benbow 92a62c4ae4 Resolve conflict 2014-04-10 13:34:46 +01:00
splashingpixels ff5384714f myaccount registration added check for auto generate password option 2014-04-01 19:45:25 -07:00
Andrew Benbow e8bc26f51c Update class-wc-form-handler.php
Updated as per comments
2014-03-26 09:58:51 +00:00
Andrew Benbow d6782567a2 Order cancelled tweaks
Add filters for order cancelled message, change message class from
success to info and allow to be filtered
2014-03-25 12:10:08 +00:00
Mike Jolley e2ea31fc94 pedantic nonce checking 2014-03-06 16:26:47 +01:00
Mike Jolley c3d5111c8d Check existence of nonce Closes #5050 2014-03-06 16:26:47 +01:00
Mike Jolley a553fd4956 pedantic nonce checking 2014-03-06 13:11:20 +00:00
Mike Jolley d42bb7a285 Check existence of nonce Closes #5050 2014-03-06 11:37:48 +00:00
Mike Jolley f44a4bc9d9 Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905
Conflicts:
	includes/class-wc-form-handler.php
2014-03-05 11:04:14 +01:00
Mike Jolley 48ebfae145 Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905 2014-03-03 15:15:32 +00:00
Mike Jolley 6e00477fd6 Tweak where message is added during reset to avoid needing a session Closes #4908 2014-02-27 15:45:47 +01:00
Mike Jolley cb4031f0c3 cancel_order - take no action if already cancelled. 2014-02-27 15:30:18 +01:00
Mike Jolley b06e0bb19e Tweak where message is added during reset to avoid needing a session Closes #4908 2014-02-26 13:13:53 +00:00
Mike Jolley 4c5f1952c7 If the cart is updated only, trigger action and recalc totals Closes #4905 2014-02-26 12:14:50 +00:00
Mike Jolley f09db7a537 cancel_order - take no action if already cancelled. 2014-02-24 10:39:43 +00:00
Mike Jolley 5564e49b15 woocommerce_get_username_from_email filter for login Closes #4791 2014-02-14 12:52:39 +01:00
Mike Jolley e667d41497 woocommerce_get_username_from_email filter for login Closes #4791 2014-02-14 11:47:12 +00:00
claudiosmweb d3f09d45b0 fixed some coding standards in includes/class-wc-form-handler.php 2014-02-07 16:35:30 -02:00
claudiosmweb e0b729d273 fixed the indentation in includes/class-wc-form-handler.php 2014-02-07 16:27:07 -02:00
claudiosmweb 0f5faa4a77 fixed undefined username variable in myaccount register using registration generate username as true 2014-02-07 16:26:51 -02:00
toddlahman 2725527d4a Removed urldecode from $_GET and $_REQUEST
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.

See Notes:

http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
Mike Jolley f36d67fa69 Merge pull request #4445 from toddlahman/master
improved ob_end_clean for download handler
2014-01-07 07:40:56 -08:00
toddlahman 6456b8d299 fix register nonce and register catch errors 2014-01-03 03:06:28 -08:00
Mike Jolley 18ffbdb82b Tweak form handlers since they are the same form - removed empty coupon message as a result. Closes #4362 2013-12-31 14:02:50 +00:00
Mike Jolley 8eb77f783d Merge pull request #4429 from toddlahman/master
Registration error handler and my_account_message hook
2013-12-31 04:38:05 -08:00