Commit Graph

14951 Commits

Author SHA1 Message Date
Mike Jolley 2de38180d3 Remove isolation levels causing issue on some servers 2016-01-15 11:43:06 +00:00
Mike Jolley 734bde83f9 Strip tags in cart messages and breadcrumbs
Fixes #10074
2016-01-15 09:59:04 +00:00
Mike Jolley 25ea52dec1 Merge branch 'pr/10078' 2016-01-15 09:51:48 +00:00
Mike Jolley 2c7501944b Use post_ids terminology to reflect whats being queried 2016-01-15 09:51:42 +00:00
Mike Jolley 6ac99bdc69 Merge pull request #10077 from tlovett1/feature/unfiltered-product-ids-filter
Add unfiltered product ids filter
2016-01-15 09:43:05 +00:00
Joey Kudish 7bb99af123 Settings API: enhance multiselect fileds
Add optional "select all"/"select none" buttons to multiselect fields,
similarly to what already exists for the country field.
2016-01-14 22:07:31 -08:00
Taylor Lovett 8702f806ad Add layered nav query posts filter 2016-01-15 00:47:52 -05:00
Taylor Lovett b4fda08091 Add unfiltered product ids filter 2016-01-15 00:36:11 -05:00
Claudio Sanches 23ea60e0a6 Allow custom endpoints for my account 2016-01-14 18:35:31 -02:00
Claudio Sanches 0fb614f222 Created new account functions file 2016-01-14 17:48:30 -02:00
Mike Jolley ea7b0adcc7 Readme tags 2016-01-14 16:02:29 +00:00
Mike Jolley 29058e47d1 Fix comparison types 2016-01-14 15:25:23 +00:00
Claudio Sanches 31975f5980 Fixed coding standards for #10063 2016-01-14 11:35:01 -02:00
Mike Jolley b788418283 Load shipping methods during save
Fixes #10072
2016-01-14 13:24:02 +00:00
Nicola Mustone ff82b623bd invert signs 2016-01-14 11:09:30 +01:00
Nicola Mustone 03e3f7ca3d better wording 2016-01-14 10:51:56 +01:00
Nicola Mustone f457d1c453 use the correct constant 2016-01-14 10:42:57 +01:00
Mike Jolley 8237ed288d Merge pull request #10063 from woothemes/update/normalization-functions-from-unit
Weight/dimension conversions
2016-01-14 08:24:21 +00:00
Nicola Mustone 9499d561d3 add WP_CRON to the system status 2016-01-14 08:01:22 +01:00
Mike Jolley c661b4c78f JSlint 2016-01-13 17:08:53 +00:00
Mike Jolley d821b87f8a Move shipping classes to custom UI in shipping section 2016-01-13 16:52:28 +00:00
Mike Jolley 3e85a61e96 Merge pull request #10065 from aelia-co/improved_shipping_cost_args_filter
Added shipping class instance to woocommerce_evaluate_shipping_cost_args
2016-01-13 15:08:36 +00:00
Mike Jolley 35e45e6075 Make price function clearer
@tamarazuk @franticpsyx @daigo75 Hopefully this makes it clearer which
values are returned and when the filter is ran.
2016-01-13 15:07:47 +00:00
Mike Jolley 8064b35350 Add methods from zones screen 2016-01-13 15:04:10 +00:00
Diego Zanella 35d20f61a8 Added shipping class instance to woocommerce_evaluate_shipping_cost_args
The instance is going to be useful if any 3rd party needs to read any other property of the shipping class, which might not have been passed through the $args variable.
2016-01-13 13:35:24 +00:00
Mike Jolley f70b0a9c23 Remove availability settings 2016-01-13 12:45:53 +00:00
Mike Jolley 31be09073f Show zones if no matching shipping method is found 2016-01-13 12:41:54 +00:00
Mike Jolley c8025705c1 Text changes 2016-01-13 12:38:31 +00:00
Mike Jolley 6a8819fc23 Text changes 2016-01-13 12:31:10 +00:00
Mike Jolley 68e30f0f38 Zones page text 2016-01-13 12:12:58 +00:00
Mike Jolley 37003b2370 Round get_remaining_refund_amount
Fixes #10060
2016-01-13 11:07:05 +00:00
Mike Jolley 133e7686b5 Stop canonical redirect breaking front page endpoints
Fixes #10062
2016-01-13 11:01:08 +00:00
Mike Jolley 0d569948fd spacing 2016-01-13 10:33:07 +00:00
Joey Kudish ece376bac1 weight/dim normalization: allow custom from unit
Add a third optional parameter to the weight and dimension normalization
functions in order to be able to specify a specific "from unit" instead
of using the site option. This allows arbitrary conversions between
different units of measure; which is particularly useful for extensions
that need to perform arbitrary unit conversions (e.g. shipping extension
that specifies custom box formats).

Also includes updated tests.
2016-01-12 22:48:56 -08:00
Claudio Sanches 626c1a127a POT 2016-01-12 14:03:20 -02:00
Claudio Sanches 636e2389aa Changed … to … 2016-01-12 14:03:01 -02:00
Mike Jolley 70a9eb3807 Fix pagination + sorting on tax screen
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley e15c123510 Fix - Missing validation rule for product cat exclusion coupons (validate_excluded_product_categories)
Fixes #10058
2016-01-12 09:49:46 +00:00
Jon Koops 7e750716e3 Added autocomplete attributes for checkout fields
This allows browsers to automatically fill in the appropriate fields
for the checkout process. This should significantly improve the
checkout experience for a lot of users, especially those that
frequently shop online in different shops.

The following fields now have proper autocomplete attributes:
 - First name
 - Last name
 - Company name
 - County
 - Address line 1 (Street name)
 - Address line 2 (Apartment, suite, unit etc.)
 - City
 - State / Country
 - Postcode / ZIP
 - Email address
 - Phone number

For more information about how autocomplete can improve user
experience: https://developers.google.com/web/updates/2015/06/checkout-faster-with-a
utofill
A complete overview can be found in the WHATWGHTML specification: https://html.spec.whatwg.org/multipage/forms.html#autofill
2016-01-11 22:55:38 +01:00
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