Commit Graph

14754 Commits

Author SHA1 Message Date
Jon Koops 8f63668e16 Added autocomplete parameter to the woocommerce_form_field function
This makes it possible to add an autocomplete attribute to a variety of
WooCommerce form fields. Making it easier for plugin developers and
core developers to build forms with good autocomplete UX.

More information about the autocomplete attribute and it’s values see:
https://html.spec.whatwg.org/multipage/forms.html#autofill-field
2016-01-11 22:55:38 +01:00
Mike Jolley b5146f18fa POT file 2016-01-11 16:31:00 +00:00
Mike Jolley bedfa7fc62 RC2 version 2016-01-11 16:31:00 +00:00
Claudio Sanches 71bf1a8146 Updated stable tag 2016-01-11 14:03:46 -02:00
Mike Jolley d7abd74969 Merge branch 'pr/10054' 2016-01-11 15:51:44 +00:00
Mike Jolley 934269f1e8 woocommerce_evaluate_shipping_cost_args 2016-01-11 15:51:37 +00:00
Diego Zanella eb42c7b3e3 Added new woocommerce_evaluate_shipping_cost filter
* The filter will allow 3rd parties to pre-process the arguments used to evaluate a shipping cost formula.
2016-01-11 13:51:46 +00:00
Mike Jolley a322b05f24 Avoid confusion between fields and field keys 2016-01-11 12:04:37 +00:00
Mike Jolley aae956185e merge conflict 2016-01-11 11:49:02 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley 3938a43b44 Error handling when order cannot be retrieved.
Also renumbers error codes @claudiosmweb since 4xx usually reflects
client errors and may be misleading

Closes #10047
2016-01-11 10:47:10 +00:00
Mike Jolley d13fb8f482 Let check_cart_item_validity remove multiple items during check
Fixes #10050
2016-01-11 10:32:46 +00:00
Mike Jolley 2714ec0aeb Keep cookie/session alive after order.
@claudiosmweb this ok with you?

Closes #10045
2016-01-11 10:28:38 +00:00
Florian Ludwig d059ce6bc9 Fixed php notices for incorrect input format in date function if date is not set in db 2016-01-11 11:27:55 +01:00
Claudio Sanches 5a834b0483 Merge pull request #10049 from keijohyttinen/master
API: Backorders string needs identical comparison due to boolean values
2016-01-09 23:31:36 -02:00
Keijo Hyttinen 72f2f4a327 backorders needs identity check due to boolean values 2016-01-10 00:59:54 +02:00
Mike Jolley 56d303f4d3 woocommerce_api_request_url filter
Closes #10040
2016-01-08 15:01:55 +00:00
Mike Jolley bdb8de7785 Zone unit tests 2016-01-08 14:53:24 +00:00
Mike Jolley a33b9b9750 Unit tests for shipping zones 2016-01-08 13:56:01 +00:00
Mike Jolley 76405ed220 Schema fixes 2016-01-08 13:17:13 +00:00
Florian Ludwig f41a0a539f Fixed format of date after reading from DB 2016-01-08 13:34:19 +01:00
Mike Jolley 71a6fcc0e2 Note should be in customer details table
Fixes #10037
2016-01-08 12:16:55 +00:00
Mike Jolley accc62d5ef Breadcrumb tweak 2016-01-08 12:10:40 +00:00
Mike Jolley 7cfdf23aec Note that legacy methods are no longer available once disabled 2016-01-08 12:01:01 +00:00
Mike Jolley cef3ec7e37 Indicate disabled methods 2016-01-08 11:57:49 +00:00
Mike Jolley 007abbc98e Shipping meta data
Closes #9094
2016-01-08 11:42:32 +00:00
Mike Jolley ad11042afd [2.4] Don't unforce SSL on secure blogs
@claudiosmweb can you check this and cherry pick if good to go?

Fixes #10029
2016-01-08 11:27:18 +00:00
Mike Jolley 2b4f841cb5 Merge pull request #10026 from helgatheviking/master
add filter for reset variations link html
2016-01-08 10:44:55 +00:00
Florian Ludwig 734f3aed18 Eliminated duplicate price save code in api v2 and api v3
I think we shouldn’t coyp&paste too much code from core into the api so
I eliminated the duplicate code and made use of the already existing
_wc_save_product_price function for products and variations
2016-01-07 23:52:01 +01:00
Kathy Darling 67c06f313e add filter for reset variations link html 2016-01-07 09:43:34 -05:00
Mike Jolley 64ceafd3f5 Merge pull request #10023 from shivapoudel/selected
Use selected instead of checked for currency code in setup wizard
2016-01-07 11:25:45 +00:00
Mike Jolley 3c5520d18c Add filter on default location array
Closes #10017
2016-01-07 11:25:24 +00:00
Shiva Poudel 45dd6890c7 Use selected instead of checked for currency code in setup wizard 2016-01-07 16:58:53 +05:45
Mike Jolley 808d3317c2 Min #10021 2016-01-07 10:53:04 +00:00
Mike Jolley dbb2a328f5 Merge pull request #10021 from shivapoudel/show-classes
No need of external product type to index
2016-01-07 10:52:26 +00:00
Mike Jolley 30b3214697 Merge pull request #10019 from thenbrent/fix_unknown_column
Fix Unknown column '_customer_user' notice when deleting a user
2016-01-07 10:51:08 +00:00
Mike Jolley c5c709ed62 Merge pull request #10012 from frozzare/docs/admin-walkers
Improve docblock comments Walker classes
2016-01-07 10:46:26 +00:00
Mike Jolley 6de9edd2c7 Merge pull request #10015 from frozzare/docs/class-wc-widgets
Improve docblock comments WC_Widget classes
2016-01-07 10:42:18 +00:00
Mike Jolley 46481a49f7 Merge pull request #10014 from frozzare/docs/local-delivery
Improve docblock comments in WC_Shipping_Local_Delivery class
2016-01-07 10:42:04 +00:00
Mike Jolley aeddd6b1a0 Merge pull request #10011 from frozzare/docs/flat-rate-shipping
Improve docblock comments in WC_Shipping_Flat_Rate classes
2016-01-07 10:41:47 +00:00
Mike Jolley ce9ac48866 Merge pull request #10010 from frozzare/docs/free-shipping
Improve docblock comments for free shipping classes
2016-01-07 10:41:07 +00:00
Mike Jolley 17db4f31ed Merge pull request #10009 from frozzare/docs/local-pickup
Improve docblock comments in WC_Shipping_Local_Pickup
2016-01-07 10:40:44 +00:00
Mike Jolley 7f21d4f443 Merge pull request #10008 from frozzare/docs/international-delivery
Improve docblock comments WC_Shipping_International_Delivery class
2016-01-07 10:40:37 +00:00
Mike Jolley 3b6de6051a Merge pull request #10022 from WPprodigy/shortcode-fix
Check for a valid product ID/SKU in the add_to_cart shortcodes
2016-01-07 10:38:18 +00:00
Caleb Burks e612dc4561 Check for a valid product ID/SKU 2016-01-07 04:07:02 -05:00
Shiva Poudel 64161b9d63 No need of external product type to index 2016-01-07 12:43:08 +05:45
Brent Shepherd 6d2b570f30 Fix Unknown column '_customer_user' notice
When deleting a user. Also ensures the customer value on orders is set
correctly to a guest user (0).
2016-01-06 17:53:21 -08:00
Fredrik Forsmo 7570ac414f Improve docblock comments in WC_Shipping_Local_Pickup
* Added comments to `init`, `calculate_shipping`, `clean` and
`init_form_fields`
2016-01-06 20:15:45 +01:00
Fredrik Forsmo 1288c18301 Improve docblock comments in WC_Shipping_Local_Delivery class
* Added comment to`calculate_shipping` and `init`
2016-01-06 20:13:44 +01:00
Fredrik Forsmo 0d2c6be073 Improve docblock comments WC_Shipping_International_Delivery class
* Added comment to `is_available`
* Fixed initialize typo
2016-01-06 20:12:02 +01:00