Claudio Sanches
39e27196c4
Merge pull request #17853 from rodrigoprimo/fix/run-phpcs-only-once
...
Don't run PHPCS on the code coverage Travis job
2017-11-22 12:16:34 -02:00
Mike Jolley
2795a3399b
Merge pull request #17868 from ahmedofali/master
...
fixing typo replace add to cart to be remove from cart
2017-11-22 12:51:17 +00:00
Ahmed Ali
d8050f99b1
fixing typo replace add to cart to be remove from cart
2017-11-22 14:33:21 +02:00
Claudio Sanches
37af420cfe
Merge pull request #17864 from woocommerce/update/17860
...
Add precision after multiplying quantity
2017-11-22 10:31:17 -02:00
Mike Jolley
15230e295c
Add precision after multiplying quantity
...
Closes #17860
Has no effect on core it seems because we only store prices to the DP
setting. This would be to correct precision added by plugins.
2017-11-22 10:49:28 +00:00
Mike Jolley
970e98db09
Merge pull request #17857 from shivapoudel/fix/default-shipping-class
...
Fix - Default shipping class not loading from localize script
2017-11-22 10:22:58 +00:00
Shiva Poudel
cea8982ac3
Fix - Default shipping class not loading from localize script
2017-11-22 11:34:03 +05:45
Mike Jolley
16152bfcf0
Merge pull request #17849 from woocommerce/fix/17818-1
...
Update REST API schema for backwards compatibility with WP 4.9
2017-11-21 21:53:18 +00:00
Mike Jolley
4172efea3f
Merge pull request #17848 from woocommerce/fix/rest-api-orders-delete-meta-data
...
Fixed how to delete meta data on REST API v2
2017-11-21 21:53:05 +00:00
Rodrigo Primo
47154cf29a
Don't run PHPCS on the code coverage Travis job
...
PR #17680 added a new PHP 7.1 Travis build job to generate code coverage report. PHPCS was configured to run on all PHP 7.1 build jobs. So this means that after #17680 was merged, Travis started running PHPCS twice.
This commit fixes this issue by setting a new environment variable called `$RUN_PHPCS` and using this variable, instead of the PHP version, to decide when to run PHPCS.
2017-11-21 18:17:55 -02:00
Claudio Sanches
b74fc8963d
Update REST API schema for backwards compatibility with WP 4.9
...
Closes #17818
2017-11-21 16:15:51 -02:00
Claudio Sanches
f0b6e3fc33
Test removing fee_lines from order in REST API
2017-11-21 16:07:03 -02:00
Claudio Sanches
f289d0e05c
Fixed how to delete meta data on REST API v2
2017-11-21 16:05:39 -02:00
The Dramatist
1783953f15
Admin metaboxes views translation escaping fix ( #17776 )
...
* Data escaped and validated. Plus translator comment documentation added.
* If it should be int then we should change the empty string default parameter to 0 as in 'if' condition checking 0 and empty string are same.
* Extra bracket removed.
* Indentation is fixed now.
* The taxonomy object should not be assigned to a variable before checking if this is a taxonomy or not.
* echo esc_attr__ replaced by esc_attr_e and visually tested.
* As I use WordPress VIP Coding Standard, they were marking them as warnings. But now it's fixed again.
* Escaping fix
* Extra Bracket Fix Again
2017-11-21 17:50:30 +00:00
Claudiu Lodromanean
5af225a2c8
Merge pull request #17846 from woocommerce/fix/17845
...
Slugs are encoded, so decode before outputting to the form
2017-11-21 09:27:03 -08:00
Claudiu Lodromanean
887003cc02
Merge pull request #17812 from woocommerce/update/wc-e2e-page-objects
...
Update wc-e2e-page-objects package to version 0.5.0
2017-11-21 09:22:08 -08:00
Mike Jolley
208b2d1b81
Slugs are encoded, so decode before outputting to the form
...
Fixes #17845
2017-11-21 16:50:33 +00:00
Mike Jolley
e91ed3f0b0
Merge pull request #17842 from JeroenSormani/add-filter-arg
...
Add quantity arg to woocommerce_add_cart_item_data filter
2017-11-21 16:25:13 +00:00
JeroenSormani
b96fea3e47
Add quantity arg to woocommerce_add_cart_item_data filter
2017-11-21 16:01:23 +01:00
Mike Jolley
78ddd97472
Merge pull request #17822 from woocommerce/fix/17733
...
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
2017-11-21 14:00:53 +00:00
Claudio Sanches
9bef98b7f6
Merge pull request #17840 from woocommerce/update/travis-ci-builds
...
Prevent Travis builds duplication
2017-11-21 11:50:06 -02:00
Rodrigo Primo
742cd367b0
Prevent Travis builds duplication
...
This commit changes Travis configuration file to specify a list of branches that it should build. This way Travis will only create a new build when a commit is pushed to the master branch and release branches and when tags are created. The behavior for PRs is not modified and PR creation and updates will still trigger builds.
Doing this to speed up Travis build by preventing it from running two builds for PR that are created from a branch of the same repository. Before this change, Travis would create a build when the branch is pushed to GitHub (continuous-integration/travis-ci/push) and another one when the PR is created (continuous-integration/travis-ci/pr). For an example, see https://github.com/woocommerce/woocommerce/pull/17680 .
2017-11-21 11:28:12 -02:00
Mike Jolley
8b02185596
Merge pull request #17817 from JeroenSormani/exclude-virtual-from-shipping-tax
...
Exclude virtual tax classes from calcluation for shipping taxes
2017-11-21 13:21:13 +00:00
Mike Jolley
dd3ffe84fd
Merge pull request #17838 from woocommerce/feature/improved-phpcs-args
...
PHPCS custom settings to support minimum WP version and text domain
2017-11-21 13:14:55 +00:00
Mike Jolley
1c12459367
Merge pull request #17827 from woocommerce/fix/missing-text-domain
...
Fixed missing text domain in setup wizard
2017-11-21 13:13:59 +00:00
Mike Jolley
c0afbf9bad
Merge pull request #17829 from woocommerce/refactor/run-grunt-checktextdomain-by-default
...
Run grunt checktextdomain by default
2017-11-21 13:13:40 +00:00
Claudio Sanches
34ec7a013f
Merge pull request #17835 from woocommerce/fix/17815
...
Checkout should store fee tax lines
2017-11-21 11:06:01 -02:00
Claudio Sanches
af6bfd22fd
Merge pull request #17821 from woocommerce/fix/17820
...
When custom attributes are created, they are decoded. Make the values match.
2017-11-21 10:57:26 -02:00
Claudio Sanches
216ddc799a
Fixed VSCode auto align mistake
...
One more reason to go back to sublime
2017-11-21 10:53:15 -02:00
Claudio Sanches
56888d334c
Fixed typo
2017-11-21 10:47:42 -02:00
Claudio Sanches
914ebef337
PHPCS custom settings to support minimum WP version and text domain
...
Also makes sure that PHPCompatibility is looking for PHP 5.2+
2017-11-21 10:41:55 -02:00
Claudio Sanches
163c73ba97
Updated wp-coding-standards/wpcs version
2017-11-21 10:41:43 -02:00
Mike Jolley
d9913c0d77
Checkout should store fee tax lines
...
Fixes #17815
2017-11-21 10:49:26 +00:00
Claudio Sanches
e9a8c15099
Fixed typo
2017-11-20 22:18:07 -02:00
Claudio Sanches
d99aec3fd9
Run grunt checktextdomain by default
...
This will help to find missing or incorrect text domains
2017-11-20 22:16:24 -02:00
Claudio Sanches
f395fcd2e8
Fixed missing text domain in setup wizard
2017-11-20 22:08:23 -02:00
Claudio Sanches
9681a331e9
Fixed coding standards
2017-11-20 20:19:09 -02:00
Mike Jolley
2e08bfdb33
Tweak where meta gets sanitized before passing to comparison function
2017-11-20 21:48:35 +00:00
Mike Jolley
698db6c131
When custom attributes are created, they are decoded. Make the values match.
...
When we create/link variations, the entities are decoded.
When the variation form is posted, the entities are encoded (esc_attr).
This decodes them so they match correctly. Fixes #17820
2017-11-20 20:51:32 +00:00
JeroenSormani
14e5bcd51d
Exclude virtual tax classes from calcluation for shipping taxes
2017-11-20 20:14:23 +01:00
Claudiu Lodromanean
8801279c10
Merge pull request #17813 from woocommerce/fix/17779
...
Add option to disable rounding when adding precision
2017-11-20 09:09:46 -08:00
Claudio Sanches
5a858eb2b1
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
...
Closes #17733
2017-11-20 14:40:56 -02:00
Mike Jolley
c8d1a46315
Default rounding to true.
2017-11-20 16:37:44 +00:00
Mike Jolley
ec5db3b123
When adding precision to taxes, don't round when adding precision.
2017-11-20 16:30:23 +00:00
Mike Jolley
80ffcfb45d
Add round param for `wc_add_number_precision`
...
Let’s us return the cent value without rounding to an integer.
2017-11-20 16:30:04 +00:00
Rodrigo Primo
9793bd6985
Update e2e tests to work with the latest version of selenium-webdriver
...
The new version of selenium-webdriver no longer supports passing a description to before() and after().
2017-11-20 10:42:28 -02:00
Mike Jolley
1bd30af0d0
Merge pull request #17803 from woocommerce/fix/17600
...
Regenerate download permissions when linking orders.
2017-11-20 12:38:46 +00:00
Rodrigo Primo
b28280f9ab
Typo
2017-11-20 10:36:49 -02:00
Rodrigo Primo
c380c06aff
Update wc-e2e-page-objects to version 0.5.0
2017-11-20 10:23:26 -02:00
Mike Jolley
b9bfc4a26b
Merge pull request #17753 from willgorham/fix/17597
...
Responsive table for order downloads
2017-11-20 12:18:54 +00:00