Commit Graph

31518 Commits

Author SHA1 Message Date
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 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
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
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
Renovate Bot 7c28624313
Update dependency husky to v2.2.0 2019-05-02 03:33:53 +00:00
Rodrigo Primo 5ed76fd067 Change the link of the "Report a bug" button
Changes the link of the "Report a bug" button from https://github.com/woocommerce/woocommerce/issues?state=open to https://github.com/woocommerce/woocommerce/issues/new?template=Bug_report.md. When users click on this button, they should go directly to the new issue page, instead of the page that list issues.
2019-05-01 22:58:55 -03:00
Rodrigo Primo 18ee70918b Fix PHPCS violations in tests/ using PHPCBF
This commit fixes all 1533 PHPCS errors that PHPCBF can fix automatically in the tests/ directory. Before this change there was a total of 3106 PHPCS errors in the WooCommerce repository and now there is 1573 errors.
2019-05-01 19:05:00 -03:00
Rodrigo Primo d502827ee9
Merge pull request #23564 from woocommerce/renovate/grunt-stylelint-0.x
Update dependency grunt-stylelint to v0.11.0
2019-05-01 18:39:38 -03:00
Rodrigo Primo 7a091a1545
Merge pull request #23565 from woocommerce/move-github-contributors-list
Change location of github-contributors-list in package.json
2019-05-01 18:39:19 -03:00
Nathan Dawson 6088f7c353 Fixes #23578 - Check taxes are enabled before adding totals row to orders 2019-05-01 22:05:46 +01:00
Rodrigo Primo a60432e25f
Merge pull request #23563 from woocommerce/update/npm-dev-dependencies
Update npm packages to their latest versions
2019-04-30 16:57:49 -03:00
Rodrigo Primo 51551e0df8 Move `dependencies` section in package.json
This commit moves the `dependencies` section in package.json to appear before `devDependencies` as the former is more important than the latter and this seems to be the standard for other package.json files.
2019-04-30 16:39:23 -03:00
Rodrigo Primo 51bb6f1ed8 Change location of github-contributors-list in package.json
This commit moves github-contributors-list in package.json from the `dependencies` section to the `devDependencies` section. This package is used to generate the list of WC contributors for each release and it is not needed to run WC.
2019-04-30 16:39:11 -03:00
Renovate Bot 0e23561c4d
Update dependency grunt-stylelint to v0.11.0 2019-04-30 19:13:54 +00:00
Rodrigo Primo 0b9201d5e4 Update npm packages to their latest versions
This commit updates npm packages to their latest versions:

- chromedriver  2.46.0  →  74.0.0
- husky          1.3.1  →   2.1.0
- node-sass     4.11.0  →  4.12.0

Those three packages are devDependencies and since we are early in the WC 3.7 release cycle this change shouldn't cause any issue. I'm doing this to see if updating the chromedriver package fixes the failing e2e test that is failing on Travis (example of a failure: https://travis-ci.org/woocommerce/woocommerce/jobs/524016366#L829). I'm not able to reproduce this error on my local machine and in the past updating chromedriver fixed failing e2e tests.
2019-04-30 15:37:11 -03:00
Garrett Hyder 27bf53b9ae
Minor Typos
Clicki > Click
Ukranian > Ukrainian
hguided > guided
2019-04-29 10:04:16 -07:00
Florian TIAR b92d3d1afa
Merge branch 'master' into issue/23537 2019-04-27 13:25:58 +02:00
Florian TIAR 51c0f9c285 Revert "Fix breadcrumb style when text is on two lines"
This reverts commit 5ed4703d08.
2019-04-27 13:23:56 +02:00
Florian TIAR 499b63e5e4 Add a before thank you hook 2019-04-27 13:10:40 +02:00
Florian TIAR 782c7a944d Fix spaces/tabs 2019-04-27 12:56:11 +02:00
Florian TIAR 1849ab51d8 Code refactoring : Avoid extra lines 2019-04-27 12:53:51 +02:00
Rodrigo Primo 563b84ece4 3.6.2 changelog 2019-04-26 17:03:19 -03:00
Rodrigo Primo 45c2c78ea2 Fix: parameter values should be converted back as well when building form fields
PR #23196 added a workaround to `parse_str()` limitation when dealing with full-stops, pluses, and spaces in the parameter key. This workaround involved temporarily replacing those three characters with placeholders before calling `parse_str()` and then replacing back to the original form. This commit fixes a bug in this logic that was replacing back only parameters keys and not parameters values.

For example, if the query string is `?query.parameter=foo.bar`, the resulting <input> field contained `foo{dot}bar`, instead of the expected `foo.bar`.
2019-04-26 13:58:27 -03:00
Florian TIAR 8cb080ac9b
Improve wording 2019-04-26 17:40:05 +02:00
Rodrigo Primo e21430703c Remove redundant calls to var_export() in test_wc_query_string_form_fields()
It is not necessary to use the $message parameter of assertEquals() to output the value of $actual_html, as PHPUnit already output this variable value in case of error.
2019-04-26 11:49:30 -03:00
Mike Jolley afdd2fe7b1 define wpdb tables as early as possible, before init 2019-04-26 14:03:23 +01:00
parmarhardip 6b92769626 Fixes #23521 - Billing Email and Country now autofill for newly registered customers 2019-04-26 17:21:40 +05:30
parmarhardip de78e2c958 Solved #23505 WC Setup page UI issue 2019-04-26 17:07:46 +05:30
Peter Fabian 391570bc73
Merge pull request #23520 from woocommerce/minor-change-to-readme.txt
Deletes plain text section
2019-04-26 10:42:56 +02:00
Marina Pape 9cff52ccdd Deletes plain text section
The section deleted is a plain text duplicate of the actual screenshots album lower down.
2019-04-25 23:00:55 +01:00
Paul Sealock ef12058326 Tracks: Fix OBW scripts 2019-04-26 09:54:13 +12:00
Rodrigo Primo 00128fec58 Fix dismiss button in two WC admin notices
The dismiss button in the WC admin notices `legacy_shipping` and `no_shipping_methods` was not fully clickable due to a custom CSS applied to them. This custom CSS was used to add a background image to those notices. More specifically, the problem was caused by the use of `position: relative` applied to `<p>` elements. I couldn't find an easy way to fix this problem keeping the custom background image, so I opted to remove it to make the design of all notices identical (besides the background image, the custom CSS also added a few other differences to those to notices like the font size of the notice title).
2019-04-25 14:19:35 -03:00
Rodrigo Primo 5c1936bfdd PHPCS fixes 2019-04-25 14:12:45 -03:00
Rodrigo Primo 0785f2b72a Bump default WC API version used when creating webhook
This commit bumps the default WC API version used when users are creating a new webhook. Before this change the default version would be v2, and after this change it is v3 which is the latest API version.

In the future we might want to create a method in WC_API class or somewhere else that returns the latest WC API version and use it in `includes/class-wc-webhook.php` instead of hard-coding the version number.
2019-04-25 11:41:31 -03:00
Claudio Sanches 79ff1b10e7 Stop removing backslash from passwords 2019-04-24 19:37:07 -03:00
Claudio Sanches 936de39725
Merge pull request #23267 from woocommerce/updates-readme.txt
Updates readme.txt
2019-04-24 17:41:03 -03:00