Commit Graph

6297 Commits

Author SHA1 Message Date
Claudio Sanches 057239cb31 Merge pull request #10084 from shoheitanaka/patch-3
Modification of PayPal link errors and redirect
2016-01-21 19:26:02 -02:00
Claudio Sanches c62388b64b [API] Introduces woocommerce_api_check_permission filter, closes #10119 2016-01-21 19:10:46 -02:00
Mike Jolley a26af7b801 [2.5] Unset reload_checkout once processed.
Fixes #10134
2016-01-21 20:29:14 +00:00
Mike Jolley f9d019df87 [2.5] Fix query/missing variable in validate_user_usage_limit
Closes #10122
2016-01-21 19:06:42 +00:00
Simon Prosser 4899d99475 Videon only load when help is needed. 2016-01-21 00:12:19 +00:00
Florian Ludwig 6074ea3355 Formatted variation stock with wc_stock_amount 2016-01-20 23:37:22 +01:00
Mike Jolley 4cfd8ff214 [2.5] Don't show downloads in admin email 2016-01-20 16:58:58 +00:00
Claudio Sanches 66f9dda17f Merge pull request #10120 from krautnerds/fix-php7-compatibility
Fixed attribute check for less notices
2016-01-20 13:12:08 -02:00
Florian Ludwig ddd5f9fb9b Fixed attribute check for PHP 7 compatibility 2016-01-20 15:53:51 +01:00
Mike Jolley 6050b204fc Support qty display in cart messages
Closes #10114
2016-01-20 11:32:49 +00:00
Mike Jolley b5d7f1de10 [2.5] Only show payment method button when needed, and check for required fields
Fixes #10112

@thenbrent @claudiosmweb
2016-01-20 10:47:36 +00:00
Brett a772457a32 remove unnecessary use of ternary operator 2016-01-20 12:30:56 +13:00
Claudio Sanches c3ed6baeed [2.5] Fix index decimal and thousand values #10105 2016-01-19 16:52:58 -02:00
Keijo Hyttinen a16b1bbac4 API: thousand and decimal separators corrected 2016-01-19 20:24:26 +02:00
Mike Jolley 44eac248b3 [2.5] check_version on all requests
cc @allendav Closes #10091
2016-01-19 10:05:44 +00:00
Mike Jolley 5afca45252 [2.5] Wrong function exists check.
Fixes #10100
2016-01-19 09:39:56 +00:00
Mike Jolley 0049415797 [2.5] get_currentuserinfo() is deprecated in WP 4.5 2016-01-18 14:42:01 +00:00
Mike Jolley 6c8709f4b5 Return false if cookie_hash is not set. 2016-01-18 10:34:06 +00:00
Mike Jolley e86a159fd0 Correct option name 2016-01-18 10:24:59 +00:00
Shohei Tanaka 141414f048 No setup num_decimals in Setup Wizard
num_decimals is not set in Setup Wizard, but set in locale-info.php and Javascript code.
2016-01-16 14:46:51 +09:00
Shohei Tanaka 70be00cbf7 Modification of PayPal link errors and redirect
Those countries are redirect from paypal-popup to home.
BE,CZ,DK,IT,NL,NO,SE,ES
Those countries are error happened.
HU, JP, TR
2016-01-16 14:15:42 +09:00
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
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
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
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
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
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 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 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
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 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
Keijo Hyttinen 72f2f4a327 backorders needs identity check due to boolean values 2016-01-10 00:59:54 +02:00
Mike Jolley 71a6fcc0e2 Note should be in customer details table
Fixes #10037
2016-01-08 12:16:55 +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 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