Commit Graph

22457 Commits

Author SHA1 Message Date
Mike Jolley 81806617d7 Fix total and rounding logic for tests 2017-08-08 09:24:26 +01:00
Mike Jolley f7c4cf82d8 Fix subtotal unit tests 2017-08-08 09:24:03 +01:00
Claudio Sanches 1a9b499be8 Apply attribute helper functions to importers and REST API 2017-08-07 22:34:25 -03:00
Claudio Sanches 70e0ab857e Implement attributes functions to admin 2017-08-07 22:34:20 -03:00
Claudio Sanches a3a3d7c242 Initial implementation of product attribute helper functions 2017-08-07 22:33:57 -03:00
Claudio Sanches 2796615054 Flush rewrite rules after delete attributes 2017-08-07 22:30:14 -03:00
Claudio Sanches 6dfcf95b5e Properly update and delete attributes
- Now keep all the original hooks without deprecated anything,
- Update product metadata and terms metadata while changing slugs.
- Delete terms while deleting attributes
2017-08-07 22:29:37 -03:00
Claudio Sanches 29e73d27f4 Introduced woocommerce_attribute_created
And flush rewrite rules when created attribute.
2017-08-07 22:26:46 -03:00
Claudio Sanches dd36ae87d3 Improved wc_create_attribute() inline doc 2017-08-07 22:26:42 -03:00
Claudio Sanches 58302b117f Merge pull request #16361 from woocommerce/fix/16347
Add payment method API improvements
2017-08-07 16:37:10 -03:00
Claudio Sanches 53ea3c8b96 Merge branch 'master' into fix/16347 2017-08-07 16:36:36 -03:00
Claudiu Lodromanean 0286023878 Merge pull request #16367 from woocommerce/fix/16287
Fix variable stock status setting by using CRUD methods
2017-08-07 11:31:10 -07:00
Claudiu Lodromanean dd094088b0 Merge pull request #16336 from woocommerce/fix/16241
Only return tax classes if product is taxable.
2017-08-07 10:02:02 -07:00
Mike Jolley 7a829036c2 Fix tests 2017-08-07 17:49:46 +01:00
Mike Jolley c4bafa7228 Merge pull request #16345 from woocommerce/selectwoo-update
selectWoo accessibility improvements
2017-08-07 17:23:34 +01:00
Mike Jolley f20081c33c Merge pull request #16334 from woocommerce/fix/16253
Add precision to price filter
2017-08-07 17:19:44 +01:00
Mike Jolley 5e2ce54530 update tests 2017-08-07 17:19:19 +01:00
Mike Jolley 299fcc327c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	includes/class-wc-cache-helper.php
2017-08-07 17:11:26 +01:00
Mike Jolley e4fd620214 Merge branch 'pr/16301' 2017-08-07 17:10:44 +01:00
Mike Jolley 622b4b35d6 Remove white space 2017-08-07 17:10:36 +01:00
Mike Jolley baa5da8e6e Merge branch 'master' into pr/16301 2017-08-07 17:10:18 +01:00
Claudiu Lodromanean f7ef7588b9 Merge pull request #16360 from woocommerce/fix/16337
nocache headers during form actions
2017-08-07 08:59:34 -07:00
Mike Jolley 43b78bac02 Merge pull request #16339 from ragulka/modal-content-focus
Focus on modal content instead of container
2017-08-07 16:46:05 +01:00
Mike Jolley 8db31eefe2 Fix variable stock status setting by using CRUD methods
Closes #16287
2017-08-07 15:16:38 +01:00
Mike Jolley 4445fc8191 Merge pull request #16364 from woocommerce/fix/cache-issue-for-get-items
Fix cache issue.
2017-08-07 14:45:59 +01:00
Boro Sitnikovski 9022261f13 Fix cache issue.
From discussion with @mikejolley:

The class is not doing its job of invaliding cache after adding a line item.
At any point (action hook), a 3pd can call `get_items` and it will cache the items for that particular order so any subsequent calls to it will return bad data.
Unless you ADD items, `get_items` will return good data.
So adding items in this case is not invalidating, so that's the bug.

Relates to: https://github.com/woocommerce/woocommerce-bookings/issues/1310
2017-08-07 15:29:17 +02:00
Mike Jolley c90b96acb3 Merge pull request #16359 from woocommerce/fix/fatal-on-deleting-refunded-order
Fix fatal error on deleting refunded order
2017-08-07 14:12:17 +01:00
Mike Jolley d46988b6a6 Improve add payment method logic 2017-08-07 12:39:16 +01:00
Mike Jolley dc1c8843a1 Correct escaping 2017-08-07 12:39:08 +01:00
Mike Jolley 847e4859f8 Include add_payment_method in gateway abstract 2017-08-07 12:38:50 +01:00
Mike Jolley 862f67d98b wc_get_var helper method 2017-08-07 11:02:19 +01:00
Mike Jolley e2839d3c09 Add nocache_headers to early update actions 2017-08-07 11:02:02 +01:00
Mike Jolley af1dce3544 Set nocache constants on all nocache_headers 2017-08-07 11:01:38 +01:00
Boro Sitnikovski d1dc2a4390 Fix fatal error on deleting refunded order 2017-08-07 11:38:10 +02:00
Mike Jolley 7b87eb65ca Merge pull request #16356 from jostrander/patch-2
Fix typo in login-form.php template.
2017-08-06 20:37:15 +01:00
Mike Jolley 2b0a672ba7 Merge pull request #16348 from jamesckemp/patch-6
Add sorting ID and menu orders to sorting action
2017-08-06 20:36:34 +01:00
Jesse Ostrander e07dae3005 Fix typo in the global form-login.php 2017-08-06 12:40:54 -04:00
Jesse Ostrander 393abc9619 Fix typo in login-form.php template.
Woocomerce -> woocommerce
2017-08-06 12:16:46 -04:00
Mike Jolley 48a1223dbb Merge pull request #16346 from woocommerce/fix/16319
Use correct server variable
2017-08-05 15:10:29 +01:00
James Kemp 8ebe8a1720 Add sorting ID and menu orders to sorting action 2017-08-05 12:05:47 +01:00
claudiulodro 48f03b15ed Use correct server variable 2017-08-04 14:27:22 -07:00
claudiulodro 10fd50473b Further accessibility improvements 2017-08-04 14:08:47 -07:00
Claudiu Lodromanean ab543148ff Merge pull request #16335 from woocommerce/fix/16309
Add shortcode to description output in structured data
2017-08-03 11:09:16 -07:00
sergey.r 62d078edf5 Add filters to make possible send emails in language different from default 2017-08-03 14:58:44 +03:00
ragulka fdd0e556e7 Focus on modal content instead of container
Prevent unwanted jumps in page scroll position when opening a modal.
2017-08-03 14:32:15 +03:00
Mike Jolley 958bd092ba Add date/time to hover.
Closes #16331
2017-08-03 08:48:17 +02:00
Mike Jolley 6af275da6e Only return tax classes if product is taxable.
Fixes #16241
2017-08-03 08:44:02 +02:00
Mike Jolley 827083c051 Add shortcode to description output in structured data
Closes #16309
2017-08-03 08:28:35 +02:00
Mike Jolley 52b10d8be4 Merge pull request #16313 from opportus/master
Fixes #16010
2017-08-03 08:24:12 +02:00
Mike Jolley d79ebf7a2f Typo in tag text, fixes #16332 2017-08-03 08:19:57 +02:00