Mike Jolley
cb3134a563
phpcs
2019-03-25 12:45:38 +00:00
Mike Jolley
8e4807ac92
Correct keys when migrating attribute data
2019-03-25 12:27:18 +00:00
Mike Jolley
174ca94b79
WC_Ajax::add_variation - force variable product type
2019-03-25 11:56:48 +00:00
Mike Jolley
1b1040b91a
Update screenshots and optimise file sizes
...
Closes #23056
2019-03-25 11:16:55 +00:00
Mike Jolley
0a44c124be
Change completed email wording to "We have finished processing your order"
2019-03-25 10:53:57 +00:00
Mike Jolley
cba936997f
Merge pull request #23119 from woocommerce/renovate/grunt-1.x
...
Update dependency grunt to v1.0.4
2019-03-25 09:57:46 +00:00
Francesco Pinto
69d4d9b221
Fixed Coding Standard
2019-03-23 20:58:36 +01:00
Francesco Pinto
d1df273f9e
Fixed Coding Standards
2019-03-23 20:28:58 +01:00
Francesco Pinto
c2bd9bcdf5
Add taxonomy-specific classes to active filters
2019-03-23 18:03:01 +01:00
Timmy Crawford
288460ff63
Merge pull request #23080 from woocommerce/fix/woo-blocks-stable-error
...
Blocks: Prevent duplicate class loading for blocks feature plugin
2019-03-22 13:48:46 -07:00
Renovate Bot
c0d7a98f5b
Update dependency grunt to v1.0.4
2019-03-22 18:53:08 +00:00
Kelly Dwan
b5c48993c8
Use the released RC2 version
2019-03-22 10:58:02 -04:00
Kelly Dwan
8c109f7925
Shortcut out if we see the feature plugin, v1.4 or below
2019-03-22 10:48:06 -04:00
Mike Jolley
a4ef8cccd2
Update persistent cart only when cart items are modified
2019-03-22 13:05:09 +00:00
Mike Jolley
921cc754b9
Improved usefulness of set_quantity
...
Due to the way set_quantity works there are multiple paths that can be taken and multiple hooks to monitor for updates. woocommerce_before_cart_item_quantity_zero for example was only fired when qty hits zero, however, there are other hooks to monitor which do the same thing (remove from cart) e.g. woocommerce_cart_item_removed.
This uses the `remove_cart_item` method so that hook is always fired, and zero hook is no longer needed.
Added woocommerce_after_cart_item_quantity_update action to capture the other cases (when qty is updated).
2019-03-22 13:04:47 +00:00
Mike Jolley
59c51fbebe
Only clear persistent cart if persistent cart is enabled
2019-03-22 11:44:27 +00:00
Mike Jolley
e42d40d702
Merge pull request #23105 from woocommerce/renovate/grunt-contrib-uglify-4.x
...
Update dependency grunt-contrib-uglify to v4.0.1
2019-03-22 10:08:44 +00:00
haszari
cc78cf040f
send additional properties with suggestions tracks events:
...
- send the context/area
- details about what's promoted (product or otherwise)
- target url
2019-03-22 15:42:30 +13:00
Renovate Bot
d65355a115
Update dependency grunt-contrib-uglify to v4.0.1
2019-03-21 18:57:42 +00:00
Rodrigo Primo
6001b0177e
Only install Chrome and Nginx in the build job that uses it
...
This commit changes Travis configuration to only install Chrome and Nginx in the e2e tests build job, which is the only one that requires those packages. This change should save a little bit of time in the Travis build as before Travis was installing Chrome and Nginx in all the jobs.
2019-03-21 15:44:02 -03:00
Rodrigo Primo
d2c294af95
Merge branch 'master' into update/prevent-fatal-errors-when-extending-rest-api
2019-03-21 15:31:29 -03:00
Rodrigo Primo
b3fdbe1891
Merge branch 'master' into update/23090
2019-03-21 15:30:40 -03:00
Rodrigo Primo
38437e8f50
Merge pull request #23104 from rodrigoprimo/fix/phpcs-in-travis
...
Fix PHPCS in the Travis builds
2019-03-21 15:29:22 -03:00
Rodrigo Primo
61a096d871
Fix PHPCS in the Travis builds
...
PR https://github.com/woocommerce/woocommerce/pull/23082 made some changes to the Travis configuration and one of those changes broke the PHPCS when running inside Travis with the following error:
```
ERROR: Referenced sniff "WooCommerce-Core" does not exist
```
For example: https://travis-ci.org/woocommerce/woocommerce/jobs/509471213#L659
This problem went unnoticed during the PR review as no PHP file was modified in it and thus there was no file for PHPCS to check.
This commit fixes the error above by installing the Composer package `woocommerce/woocommerce-sniffs` which is the package that provides `WooCommerce-Core` sniffs and which installs `wp-coding-standards/wpcs` as one of its requirements. I couldn't find an easy way to make this work installing `woocommerce/woocommerce-sniffs` globally so that is why this commit also removes the `global` parameter when calling composer.
2019-03-21 15:23:42 -03:00
Mike Jolley
8ad8a4efa5
Deprecation functions should not output errors during REST requests.
2019-03-21 16:26:33 +00:00
Mike Jolley
3ff2c2f053
If someone tries to load WC_REST class to early, throw notice and include rest api classes
2019-03-21 15:38:29 +00:00
Mike Jolley
aecb0fd4fc
Merge pull request #23082 from woocommerce/update/travis-config
...
Refactor Travis Config
2019-03-21 14:42:37 +00:00
Mike Jolley
c5defa6a1e
Add engine to system status
2019-03-21 14:39:33 +00:00
Mike Jolley
44291f3215
Merge pull request #23068 from woocommerce/renovate/grunt-contrib-jshint-2.x
...
Update dependency grunt-contrib-jshint to v2.1.0
2019-03-21 14:15:53 +00:00
Mike Jolley
2665cfae7a
Merge pull request #23073 from woocommerce/renovate/eslint-5.x
...
Update dependency eslint to v5.15.3
2019-03-21 13:43:20 +00:00
Mike Jolley
308d08f97e
Run grunt tasks
...
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Mike Jolley
db3b486442
Order by name and fix return value
2019-03-20 15:27:53 +00:00
Mike Jolley
f113d26e44
Update routine
2019-03-20 15:27:43 +00:00
Mike Jolley
d22ecd8fea
API should default to force
2019-03-20 15:27:31 +00:00
Mike Jolley
6944e73963
Update option definition
2019-03-20 15:27:19 +00:00
Mike Jolley
494c6ffdbd
Handle save
2019-03-20 15:27:07 +00:00
Mike Jolley
b387444136
Allow us to define a setting in API but not save as option
2019-03-20 15:26:38 +00:00
Mike Jolley
18266a6eb8
Use new helper functions in api classes
2019-03-20 14:21:39 +00:00
Mike Jolley
e900fa3b1e
Helper functions to get/delete/create tax classes in new table
2019-03-20 14:21:23 +00:00
Mike Jolley
a92a67dfca
Define table name in wpdb
2019-03-20 14:19:26 +00:00
Mike Jolley
5d1020300e
wc_tax_rate_classes table
2019-03-20 14:19:11 +00:00
Gerhard
778245bc43
Revert test
2019-03-20 16:06:11 +02:00
Rodrigo Primo
b283a89847
Bump stable tag
2019-03-20 10:13:00 -03:00
Rodrigo Primo
952ed0c126
3.5.7 changelog
2019-03-20 10:10:11 -03:00
Gerhard
4edd63fedf
usort not uasort
2019-03-20 14:06:13 +02:00
Gerhard
fb0e2db448
Keep track of version numbers in seperate variable before sorting it
2019-03-20 14:05:12 +02:00
Gerhard
6234b7bd13
uasort does not return a value but instead works by reference.
2019-03-20 14:00:26 +02:00
Gerhard
b97e780b0b
Use version_compare for finding the latest version and not max as it is not string friendly.
2019-03-20 13:56:57 +02:00
Gerhard
fbe1bc7c1f
Move saving setting functionality to wp_loaded hook to avoid issues with menus loading before the setting is saved.
2019-03-20 13:34:02 +02:00
Mike Jolley
7c42ac0a29
Also remove hardcoding of attributes on frontend state fields
2019-03-19 16:59:22 +00:00