Renovate Bot
f4bfc15ef2
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2
2019-07-25 15:28:48 +00:00
Gerhard
a6eda46b97
npm run
2019-07-25 15:55:33 +02:00
Gerhard
e8dff32c88
Use correct variable to trigger visual regression test
2019-07-25 15:28:07 +02:00
Gerhard
49a969a11c
tests not test
2019-07-25 13:20:45 +02:00
Gerhard
af39fb7e5f
Hook up new run-vis-regression.sh script, do not run unit tests on vis regression tests
2019-07-25 13:12:24 +02:00
rspublishing
bb2c929fba
Use in woocommerce_update_product_stock_query
2019-07-25 09:31:37 +02:00
Renovate Bot
57f2cfafd4
Update dependency lint-staged to v9.2.1
2019-07-25 05:07:55 +00:00
David Stone
487b38e0ae
Use two different filters instead to avoid unexpected behavior
2019-07-24 16:54:51 -06:00
Paul Dechov
c3076209c7
Cache checkout fragments and only update DOM on change
2019-07-24 18:00:29 -04:00
Gerhard
5db83f1699
First go at setting up travis to run vis regression tests.
2019-07-24 13:20:41 +02:00
Gerhard
b5aa45bf54
Add basic screenshot testing framework using jest-puppeteer and jest-image-snapshot, include basic test with a screenshot.
2019-07-23 15:08:36 +02:00
Gerhard Potgieter
ba517650a1
Merge pull request #24178 from james-allan/deprecate_before_quantity_zero_action
...
Deprecate the `woocommerce_before_cart_item_quantity_zero` action
2019-07-22 14:38:40 +02:00
Gerhard Potgieter
1a3e9a668f
Merge pull request #24173 from woocommerce/fix/order-create-track
...
[Beta fix] Return early if post status is `auto-draft` to prevent fatal.
2019-07-22 14:36:44 +02:00
Gerhard Potgieter
f47e18460e
Merge pull request #24212 from woocommerce/renovate/config-3.x
...
Update dependency config to v3.2.2
2019-07-22 14:31:56 +02:00
Gerhard Potgieter
025103607c
Merge pull request #24211 from woocommerce/renovate/eslint-6.x
...
Update dependency eslint to v6.1.0
2019-07-22 14:31:24 +02:00
Gerhard
e586379c3c
Delete woocommerce_tax_classes option after transfering it to the new tax class table.
2019-07-22 14:16:17 +02:00
Gerhard
0e316c238d
Add back WC_Tax::maybe_remove_tax_class_rates removed in #23093 and deprecate it instead.
2019-07-22 14:11:11 +02:00
Renovate Bot
8e08c96210
Update dependency config to v3.2.2
2019-07-21 04:32:48 +00:00
Renovate Bot
1128b051af
Update dependency eslint to v6.1.0
2019-07-21 04:08:26 +00:00
David Stone
db089c3f9d
Only use default message to avoid showing too much information to user
2019-07-19 15:37:10 -06:00
Claudio Sanches
94d0516ba2
Fixed translator notation
2019-07-19 13:29:38 -03:00
Claudio Sanches
d91c10ebbf
Merge pull request #24207 from woocommerce/remove-duplicated-methods
...
Remove methods assertIsWPError() and assertNotWPError() from WC_Unit_Test_Case
2019-07-19 12:36:47 -03:00
Rodrigo Primo
17e5622905
Merge pull request #24206 from JAD3N/patch-1
...
Fix Missing Translation for Subtotal
2019-07-19 11:19:48 -03:00
Rodrigo Primo
a8f6a94cda
Remove methods assertIsWPError() and assertNotWPError() from WC_Unit_Test_Case
...
Those two methods are already declared in the class WP_UnitTestCase, so there is
no need to declare them again in the class WC_Unit_Test_Case. The only
caveat is that assertIsWPError() is called assertWPError() in
WP_UnitTestCase so it was necessary to update all of its usages.
2019-07-19 10:56:58 -03:00
Rodrigo Primo
276334fc4c
Merge pull request #24197 from woocommerce/feature/24192
...
Updated PHPUnit to 7.5.14
2019-07-19 10:34:04 -03:00
Rodrigo Primo
16442956e8
Fix PHPCS errors
2019-07-19 10:19:23 -03:00
Jaden
83a3c2362a
Fix Missing Translation for Subtotal
2019-07-19 12:53:59 +00:00
rmalviya
f22dbd53ff
Parse attribute_id as int not string
...
In legacy API v3 for product attribute terms, the `$attribute_id` is
received as string, but is required as int for proper handling.
Use `absint` to make sure it is a valid int id and hence fix #24160 .
2019-07-19 15:52:06 +05:30
MahdiY
040a617cd1
Add filter hook to get zone criteria
2019-07-19 09:35:04 +04:30
Claudio Sanches
488eefd7ec
Don't allow before before_woocommerce_init
2019-07-18 23:43:32 -03:00
Claudio Sanches
fd42c439f9
Prevent run wc_load_cart() before woocommerce_loaded
2019-07-18 23:34:13 -03:00
Claudio Sanches
2144cf21aa
Merge pull request #24194 from woocommerce/renovate/husky-3.x
...
Update dependency husky to v3.0.1
2019-07-18 23:09:49 -03:00
Claudio Sanches
284a5a3f57
Merge pull request #24195 from woocommerce/renovate/mocha-6.x
...
Update dependency mocha to v6.2.0
2019-07-18 23:09:35 -03:00
Claudio Sanches
f8628d62db
Merge pull request #24196 from woocommerce/renovate/config-3.x
...
Update dependency config to v3.2.1
2019-07-18 23:09:19 -03:00
Claudio Sanches
5eb11ea77a
Remove exception for PHP 5.2
2019-07-18 23:02:30 -03:00
Claudio Sanches
80f1e2fba2
Remove all support for PHP 5.2 in Travis
2019-07-18 23:01:14 -03:00
Claudio Sanches
d09009261f
Fixed UnitTests in PHP 5.6
2019-07-18 22:46:28 -03:00
Claudio Sanches
16041d9247
Fixed failing tests
2019-07-18 22:42:31 -03:00
Claudio Sanches
96c7255fc0
Fixed SpeedTrapListener include
2019-07-18 22:24:40 -03:00
Claudio Sanches
838dd31e00
Updated PHPUnit in Travis
2019-07-18 22:09:12 -03:00
Claudio Sanches
67212d1303
Updated PHPUnit to 7.5.14
2019-07-18 22:02:58 -03:00
Renovate Bot
d015f9baa1
Update dependency config to v3.2.1
2019-07-18 22:30:59 +00:00
Renovate Bot
1a3d2fa280
Update dependency mocha to v6.2.0
2019-07-18 22:02:09 +00:00
Renovate Bot
3fc0e53387
Update dependency husky to v3.0.1
2019-07-18 21:29:42 +00:00
Rodrigo Primo
0e317ac82e
Only add the image node to structured data if product has image
...
This commit adds a check to verify if a given product has a image before
adding the image node to the structured data output. If there is no
image, the image node should be omitted instead of display with `false`
as its value.
2019-07-18 10:24:42 -03:00
James Allan
dd47170c7d
Deprecate the woocommerce_before_cart_item_quantity_zero action
...
This action was removed in 921cc754b9
.
It will need to be deprecated so third-parties are made aware the new alternative.
2019-07-18 11:18:21 +10:00
David Stone
b2e262f6cc
Add more specific errors for all product type which are unpurchasable
2019-07-16 17:14:02 -06:00
vedanshujain
6ab03e6acd
Return early if post status is `auto-draft` to prevent fatal.
...
While creating an order, if we remove an item after adding, `pre_post_update` hook gets called. Since the order is not created yet, `$order->get_date_created()` will be null, and this will cause a fatal in the event tracker which checks for and tracks edit in order created date.
We now return early when order status is `auto-draft` to prevent these kind of errors.
2019-07-17 00:21:18 +05:30
David Stone
50d9c73809
Add more specific reason for why products cannot be purchased so plugin can custimize these messages
2019-07-16 12:49:50 -06:00
Claudio Sanches
1ada2e8491
Use "Go to the shop" in downloads
2019-07-16 15:32:10 -03:00