Commit Graph

32363 Commits

Author SHA1 Message Date
Claudio Sanches c2836c5e75 Try prevent errors caused by illegal logins 2019-05-09 16:56:47 -03:00
Dan Wyman 6123c6066d Corrects WC Tracker's order total calculation.
Fixes #23669
2019-05-09 12:03:33 -07:00
Rodrigo Primo 84f0f4ebea Bump WC version since 3.7.0 development has begun 2019-05-09 15:14:34 -03:00
parmarhardip 7b2a331213 remove a phpcs ignore rule. 2019-05-09 17:42:08 +05:30
Gerhard 84b75c31ad Three equals 2019-05-09 12:57:25 +02:00
Gerhard c633c46045 When no update is found then just call WC_Install::update_db_version(); to ensure db version is set to current WC version, same as per WC_Admin_Notices::update_notice 2019-05-09 11:24:49 +02:00
Thomas Patrick Levy 57bbcf94b7 add filter to allow disabling endpoint 404 behavior, per #23622 2019-05-08 17:35:28 -07:00
Renovate Bot 259bed2a8b
Update dependency eslint-plugin-wpcalypso to v4.1.0 2019-05-08 15:55:58 +00:00
Peter Fabian 380ff713c2
Merge pull request #23643 from rodrigoprimo/fix-e2e-tests-travis
Regenarate package-lock.json to fix EINTEGRITY error in package github-contributors-list
2019-05-08 16:20:59 +02:00
parmarhardip d56d24f8dd #23649 I have added the filter into the out of stock message in variable.php file 2019-05-08 17:13:25 +05:30
Mike Jolley 6c3e1bbd01 Set register_rest_route override to TRUE 2019-05-08 11:27:26 +01:00
Rodrigo Primo 3fd9fde2ed Regenarate package-lock.json to fix EINTEGRITY error in package github-contributors-list
The Travis build job used to run e2e tests started failing due to the following NPM error when installing packages:

```
npm ERR! code EINTEGRITY
npm ERR! sha512-B2yGehx2B1Fg0ooPCxcbq2fRE+YvAh1Yssa6Kp/sGMCRgDD9+yR6Fa5urn+cOqMbOvuAVZElVqQx+4wVm4JWgw== integrity checksum failed when using sha512: wanted sha512-B2yGehx2B1Fg0ooPCxcbq2fRE+YvAh1Yssa6Kp/sGMCRgDD9+yR6Fa5urn+cOqMbOvuAVZElVqQx+4wVm4JWgw== but got sha512-4lJ4ERWmcGlG43jDdIy7shG0v3QsfoSvSrtbdcw/cpqF69WBOoHu1iC8Cb3IQ63WU7KujtR0TEF50CEcebhRCA==. (471195 bytes)
```

https://travis-ci.org/woocommerce/woocommerce/jobs/527530281#L633

This commit regenerates package-lock.json to work around the error. I simply delete package-lock.json file from my local copy of the repository and then ran `npm install`.
2019-05-07 15:53:00 -03:00
Rodrigo Primo 6a1ca174ad Bump "Tested up to" version to WP 5.2 2019-05-07 13:32:25 -03:00
Gerhard 48e0a25f2f Add woocommerce_product_post_type_link_parent_category_only to only include the parent category in the slug instead of parent/child 2019-05-07 15:51:49 +02:00
Gerhard af678dfc84 Switch paypal capture_payment method to use woocommerce_order_status_processing and woocommerce_order_status_completed instead to avoid issues with custom from status transitions.
Update get_post_meta usage with $order->get_meta instead.
2019-05-07 12:57:59 +02:00
Gerhard 9300c3436b Run grunt css and js before running e2e tests 2019-05-07 10:56:46 +02:00
Gerhard ed0dbed203 Include select2.css in ignore as it is generated via grunt as well. 2019-05-07 10:34:04 +02:00
Gerhard bb2d38db49 Remove all frontend minified js files 2019-05-07 10:20:28 +02:00
Gerhard 411e963b00 Remove all admin minified js files 2019-05-07 10:19:02 +02:00
Gerhard 49095242ab Remove compiled and minified css from git, except select2.css as that is a library 2019-05-07 09:43:43 +02:00
Gerhard 48adde58c7 Revert "Remove compiled and minified CSS from git"
This reverts commit 1850d16d9f.
2019-05-07 09:43:22 +02:00
Gerhard 1850d16d9f Remove compiled and minified CSS from git 2019-05-07 09:42:08 +02:00
Gerhard b5e25f9661 Exclude compiles CSS and minified JS files from repository. 2019-05-07 09:35:06 +02:00
Gerhard 6eb51a9047 WC_VERSION instead of WC()->version 2019-05-07 08:47:42 +02:00
Florian TIAR 0baef94bef
FIX 2019-05-07 01:29:30 +01:00
Claudio Sanches be737d6f9e
Merge pull request #23600 from woocommerce/renovate/lint-staged-8.x
Update dependency lint-staged to v8.1.6
2019-05-06 21:03:48 -03:00
Claudio Sanches 490219de7c Use attributes orderby options to sort terms in product's edit screen 2019-05-06 20:39:36 -03:00
Claudio Sanches 27c3f5c7e5 Always return string 2019-05-06 19:49:02 -03:00
Claudio Sanches 77b96b5972 Get only the first item 2019-05-06 19:46:37 -03:00
Rodrigo Primo bd45f865b9
Merge pull request #23581 from woocommerce/fix/phpcs-violations-using-phpcbf
Fix PHPCS violations in tests/ using PHPCBF
2019-05-06 14:31:56 -03:00
Gerhard 4c80c6fd3b Include version in the implode call. 2019-05-06 14:53:03 +02:00
Gerhard 48e6083adc Restore param and return for backward compatibility. 2019-05-06 14:47:27 +02:00
Gerhard b1e2a0119a Fix system status connected to woocommerce.com status 2019-05-06 10:11:59 +02:00
parmarhardip 12985e107a #23596 - I have solve this issue. 2019-05-06 11:43:56 +05:30
Claudio Sanches 36a99e2935 Prevent undefined offset for empty arrays in wc_change_get_terms_defaults 2019-05-03 22:21:10 -03:00
Chirag3119 58c3374276 #23602 - I have fixed issue. 2019-05-03 15:02:55 +05:30
Peter Fabian a601151ed0 Fixed use of available_updates variable. 2019-05-03 10:34:59 +02:00
Renovate Bot 2b360fa3f3
Update dependency lint-staged to v8.1.6 2019-05-03 07:44:08 +00:00
Claudio Sanches 8361f9407f
Merge pull request #23585 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.2.0
2019-05-02 19:30:34 -03:00
Claudio Sanches eba7940228 Fixed jshint errors 2019-05-02 19:20:33 -03:00
Peter Fabian 98edbd2f78 Added confirmation before saving an empty list of countries to sell to in general WC settings. 2019-05-02 21:26:29 +02:00
Peter Fabian e647e4143a Fixed linter problem. 2019-05-02 21:22:36 +02:00
Peter Fabian 3caee4451d Fixed PHPCS. 2019-05-02 21:20:08 +02:00
Peter Fabian 35c63ee475 Added some comments to hopefully make the function a bit clearer. 2019-05-02 20:19:28 +02:00
Peter Fabian 375880e06b Made the increase and decrease operations atomic, set is atomic as it's not fetch-and-update, just update. 2019-05-02 19:41:15 +02:00
Peter Fabian 44f1803c53 Tweaked update lookup table to add the possibility to ignore manage_stock value from the database.
E.g. if manage_stock property has been changed in the object/local copy of the product while updating it, but the product has not been saved to the db yet, the lookup table update would ignore stock quantity update.
2019-05-02 19:29:28 +02:00
Peter Fabian b891bfe238 Removed unused variables. 2019-05-02 17:53:50 +02:00
Gerhard 48000e63a1 Move remove_ordering_args calls from the_posts filter to query_filters method, this avoids conflicts with other plugins also hooking in and modify the args. 2019-05-02 14:31:30 +02:00
Gerhard 6a6b58daf6 Wrap version appending inside sanitize_key 2019-05-02 14:13:16 +02:00
Gerhard da00f93869 Make the version part of the cache key and not a value in the cache 2019-05-02 14:10:31 +02:00