Commit Graph

26777 Commits

Author SHA1 Message Date
Mike Jolley a6d82431bb
Merge pull request #19426 from michakrapp/master
add autocomplete attributes to account and register forms #19425
2018-03-28 14:03:27 +01:00
Mike Jolley 51252915e1
Merge pull request #19493 from woocommerce/fix/19404
Removed line item limit and made sure the URL is shorter than 2083 ch…
2018-03-28 13:56:57 +01:00
Peter Fabian 3809ab3f4c Fixed shipping tax logic to behave the same as originally 2018-03-28 13:08:05 +02:00
michakrapp 8d3c76d980 account edit form disble autocomplete for password fields 2018-03-28 12:18:14 +02:00
Gerhard Potgieter 2c24872989
Merge pull request #19541 from woocommerce/update/tracking-wording
Tweak wording for opt-out
2018-03-28 12:12:18 +02:00
Mike Jolley 5547c57c03
Merge pull request #19504 from woocommerce/fix/19485-backorder-import
Product import backorders default to no
2018-03-28 11:00:09 +01:00
Mike Jolley 7966fcfbe7
Merge pull request #19522 from woocommerce/fix/19491
Apply strip_tags to attributes in loop template
2018-03-28 10:57:58 +01:00
Peter Fabian c2e27919ce Replaced array_key_exists with isset test 2018-03-28 11:19:03 +02:00
Peter Fabian 59c47c4407 Refactored line item logic
- prepare_line_items is not used as a test anymore, it only updates line items
- add_line_item is not used as a test anymore, only adds line items
- added method line_items_valid to test for valid line items
- shipping tax inclusion test moved to get_shipping_cost_line_item to encapsulate shipping tax-related logic
2018-03-28 11:04:34 +02:00
Gerhard Potgieter 9c67760bc0 per_page must be between 1 and 100, default to 100. 2018-03-28 10:18:10 +02:00
Gerhard Potgieter 1f2468ca3e When no per_page is defined for list wp-cli command default to displaying all items as per the wp-cli standard. 2018-03-28 09:47:15 +02:00
Gerhard Potgieter 80ec10fc21 Fix unit test for import, the way the test is set up it expects a no for backorders and not an empty string 2018-03-28 08:28:13 +02:00
Claudiu Lodromanean cdb8cf86af
Merge pull request #19530 from woocommerce/add/escaping-to-publish-date
Add escaping to publish date
2018-03-27 12:12:53 -07:00
Mike Jolley 57378785bf Split up state and country fields 2018-03-27 19:32:04 +01:00
Mike Jolley 38c29204d4 Include US in US dollar dropdown so it's searchable 2018-03-27 18:35:15 +01:00
Jonathan Belcher 435337c3e0
Bump version Number 2018-03-27 11:51:47 -04:00
Claudiu Lodromanean d802d2ca6a
Merge pull request #19526 from woocommerce/fix/19511
Tweak `wc_get_price_excluding_tax` to not round the return value so calculations in admin are not pre-rounded.
2018-03-27 08:36:31 -07:00
Peter Fabian 86f1b3701f Tag stripped outside template
Stripping only affects aria-label attribute now.
2018-03-27 17:19:49 +02:00
Claudiu Lodromanean ccdf0923fa
Merge pull request #19509 from woocommerce/update/19506
Call empty cart when completing payment in PayPal
2018-03-27 07:58:59 -07:00
Peter Fabian f39e8e3900 Removed incorrect comment 2018-03-27 16:28:25 +02:00
Claudio Sanches 9abc28d03d
Merge pull request #19543 from woocommerce/fix/19133
Disable Gutenberg for products.
2018-03-27 11:19:09 -03:00
Peter Fabian 5eda49f98a Line item logic refactored
Renamed function get_non_line_item_args
Documentation updates
...all part of code review fixes
2018-03-27 15:55:03 +02:00
Mike Jolley 0c3ab5d485 Update currency text to make it clear it's to accept payments 2018-03-27 13:35:13 +01:00
Mike Jolley 0599c06b20 Disable Gutenberg for products. 2018-03-27 13:28:03 +01:00
Mike Jolley dd3b998851 Tweak wording for opt-out 2018-03-27 13:00:19 +01:00
Mike Jolley 5b001f160d
Merge pull request #19531 from woocommerce/fix/whitespace
Fixes stray space in tabbing
2018-03-27 11:38:37 +01:00
Jonathan Belcher b039e40fed Fixes stray space in tabbing 2018-03-26 13:51:24 -04:00
Jonathan Belcher 97c591a5e5 Add escaping to piblish date 2018-03-26 13:44:16 -04:00
Jonathan Belcher 47a82fbb3d Fixes incorrect escaping 2018-03-26 13:37:44 -04:00
Mike Jolley ffb6bc844c Use `get_variation_price` method in structured data to grab min/max so filters are ran.
Closes #19519
2018-03-26 12:54:17 +01:00
Peter Fabian f6d748a812 Fixed PHPCS violation 2018-03-26 13:31:29 +02:00
Peter Fabian 88588eccbc Code duplication removed
Added test for non line item agrument presence
Fixed incorrect comment
2018-03-26 13:05:55 +02:00
Mike Jolley ced5980e79 Tweak `wc_get_price_excluding_tax` to not round the return value so calculations in admin are not pre-rounded. 2018-03-26 12:03:00 +01:00
Mike Jolley b25ff31d5c
Merge pull request #19419 from woocommerce/feature/18477
MaxMind GeoLite2 integration
2018-03-26 11:31:21 +01:00
Mike Jolley c8f6330158
Merge pull request #19515 from woocommerce/fix/order-products-by-price
Use minimum price to order variable products on term archives
2018-03-26 11:17:23 +01:00
Mike Jolley 62e7191ed9
Merge pull request #19520 from ahmedofali/master
Defining array before attempting to append to it
2018-03-26 11:15:05 +01:00
Peter Fabian e19d64e51e Fixed PHPCS violations 2018-03-26 11:00:28 +02:00
Peter Fabian b6860803a5 Fix PHPCS violations 2018-03-26 09:02:51 +02:00
ahmedofali d06854a0b4 Defining array before attempting to append to it 2018-03-25 18:28:14 +00:00
Rodrigo Primo a02b77bedc Use minimum price to order variable products on term archives
Commit 12d7bf7 added a specific query to order products by price from low to high on term archives (see #17690 and #16694 for more details), but, probably due to a copy and paste error, it changed the behavior when dealing with variable products. Instead of using the smallest variation price of each variable product, it was using the highest variation price. This commit changes this new query to use the smallest variation price of each variable product. This way ordering by price from low to high on term archives will again behave in the same way that on the shop page when dealing with variable products.
2018-03-23 16:15:37 -03:00
Mike Jolley fb290ebbaa
Merge pull request #19510 from woocommerce/fix/19472
Check query var for orderby if not found in $_GET
2018-03-23 18:00:42 +00:00
Peter Fabian a940c0bfca Apply strip_tags to attributes in loop template
Fixes #19491
2018-03-23 18:31:59 +01:00
Peter Fabian 26144afbc6 Test request length after applying filter
- added default value to get_line_item_args to not break interface
- smaller code review updates
2018-03-23 17:22:09 +01:00
claudiulodro 62d88892bf Check query var for orderby 2018-03-23 08:30:02 -07:00
Claudio Sanches 59231eeb85
Merge pull request #19508 from woocommerce/fix/19474
Webhooks do not need permission checks
2018-03-23 12:27:58 -03:00
Mike Jolley 0573232c62 Call empty cart when completing payment in PayPal 2018-03-23 12:54:03 +00:00
Mike Jolley 5e473cd88f
Merge pull request #19507 from woocommerce/fix/19479
Add missing animation mixin to 2017
2018-03-23 12:49:34 +00:00
Mike Jolley c4d3b61c85
Merge pull request #19503 from alexminza/master
Force long lines wrapping in the log viewer
2018-03-23 12:49:17 +00:00
Mike Jolley f98eb66f8c Webhooks do not need permission checks 2018-03-23 12:45:10 +00:00
Mike Jolley 65f616cc5b Add missing animation mixin to 2017 2018-03-23 12:24:06 +00:00