Commit Graph

33781 Commits

Author SHA1 Message Date
Rodrigo Primo f06ad5d78a Replace removed WordPress.Security.NonceVerification.NoNonceVerification
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:

```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```

(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31))

This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
Rodrigo Primo 9c4de8f5e7 Fix indentation 2019-12-13 16:48:17 -03:00
Rodrigo Primo d451b68488
Merge pull request #24929 from helgatheviking/feature/woocommerce_process_variation_object
Add woocommerce_admin_process_variation_object before $variation->save()
2019-12-13 16:46:22 -03:00
Rodrigo Primo 23ebeceb0e Fix PHPCS errors automatically using PHPCBF 2019-12-13 16:30:29 -03:00
Rodrigo Primo eefab9d672
Merge pull request #25093 from JoryHogeveen/patch-1
Before and after product list hooks
2019-12-13 16:28:45 -03:00
Rodrigo Primo 35053e418f
Merge pull request #24818 from roksprogar/master
fixed the jQuery data() caching issue
2019-12-13 14:33:09 -03:00
Rodrigo Primo 00c40dab1a
Add pay order product has enough stock filter (#25230)
* [#25021] Add filter when checking if product has enough stock while paying for order

* [#25021] Retain original < check, invert bool

* [#25021] Make filter more readable
2019-12-13 11:16:30 -03:00
Rodrigo Primo 0ffd7f10e9
Merge pull request #25216 from woocommerce/fix/25215
Centralize check for default themes
2019-12-13 10:06:26 -03:00
Rodrigo Primo e963d7cfab Fix minor imprecision in wc_is_wp_default_theme_active() documentation 2019-12-13 09:59:20 -03:00
Rodrigo Primo 4bd6156bbb Lock PHPUnit version to 7.x
This is necessary as WordPress unit tests currently don't work with
PHPUnit 8.x. We will be able to update the PHPUnit version when the
following WP ticket is resolved: https://core.trac.wordpress.org/ticket/46149
2019-12-13 09:44:32 -03:00
Rodrigo Primo 36016069e4
Merge pull request #25217 from woocommerce/renovate/grunt-stylelint-0.x
Update dependency grunt-stylelint to v0.13.0
2019-12-13 09:28:27 -03:00
Julia Amosova f76b6cab51
Merge pull request #24676 from woocommerce/new/front-end-checkout-e2e-test
Add new Puppeteer front-end e2e test: checkout page
2019-12-11 20:39:41 +00:00
Renovate Bot 9d97f9350e
Update dependency grunt-stylelint to v0.13.0 2019-12-11 19:12:37 +00:00
Rodrigo Primo 19ea00c6ce
Merge pull request #24764 from webdados/patch-1
Set image CSS on emails to be max-width: 100%
2019-12-11 15:12:09 -03:00
Peter Fabian 72925ef41c Centralize check for default themes.
This should make Storefront appear in the Setup Wizard again.
2019-12-11 18:35:04 +01:00
Julia Amosova cff1272b7e Add check for new setup wizard flow & fix ship to different address click 2019-12-11 17:15:37 +00:00
Julia Amosova 90ddb08765 Merge branch 'new/puppeteer-screenshot-tester' into new/front-end-checkout-e2e-test 2019-12-11 14:54:39 +00:00
Julia Amosova 29671dd9ec Resolving conflict with master branch 2019-12-11 14:53:07 +00:00
Rodrigo Primo 16868fe780
Merge pull request #25206 from woocommerce/renovate/chromedriver-79.x
Update dependency chromedriver to v79
2019-12-11 10:18:56 -03:00
Julia Amosova 900289c191 Update the way `ship to different address` checkbox is set 2019-12-11 12:27:41 +00:00
Julia Amosova 47ecd75479 Wait for Recommended section elements to be visible in the obw test 2019-12-11 12:18:31 +00:00
Julia Amosova c7d4989f01 Update clicks in obw and checkout tests & productIsInCheckout function 2019-12-11 12:02:44 +00:00
Claudio Sanches 0ac5b7620e Updated package.json to version 3.9.0 2019-12-11 01:41:01 -03:00
Claudio Sanches 2975b3a7b7 Rate limit feature 2019-12-11 01:38:19 -03:00
Claudio Sanches 589d8c4591 Updated WooCommerce::$version 2019-12-10 22:55:08 -03:00
Claudio Sanches c2adae7f80
Merge pull request #25210 from woocommerce/fix/update-changelog
Update changelog
2019-12-10 22:50:39 -03:00
Claudio Sanches 1ac4a55f27 Update changelog 2019-12-10 22:49:53 -03:00
Claudio Sanches f7632de06e
Merge pull request #25164 from om4james/webhook-delete-cache
Delete cached webhook data when a webhook is deleted
2019-12-10 22:45:42 -03:00
Claudio Sanches 069f246f79
Merge pull request #25209 from woocommerce/fix/25207
Include support for WordPress 5.0, 5.1 and 5.2 to #25208
2019-12-10 22:14:25 -03:00
Claudio Sanches 02ae29c8fc Fixed support to older versions of WordPress 2019-12-10 22:12:50 -03:00
Claudio Sanches 53a2cba318
Merge pull request #25208 from dsmithweb/fix-25207-broken-link
Update "account erasure request" links in Accounts&Privacy settings
2019-12-10 22:11:59 -03:00
dsmithweb 5a17c63cc9 Update links 2019-12-10 18:41:55 -06:00
Renovate Bot ffac1284ce
Update dependency chromedriver to v79 2019-12-10 23:46:49 +00:00
Claudio Sanches a88cb4b182
Merge pull request #25204 from woocommerce/update/templates
Updated email-addresses.php template version
2019-12-10 18:40:55 -03:00
Claudio Sanches 6152ac74fd Updated email-addresses.php template version 2019-12-10 18:40:07 -03:00
Claudio Sanches 192f534e2c
Merge pull request #25203 from woocommerce/update/3.9-beta-version
Updated version to 3.9.0-beta.1
2019-12-10 18:29:44 -03:00
Claudio Sanches 57e78d701b Updated version to 3.9.0-beta.1 2019-12-10 18:28:56 -03:00
Claudio Sanches 5b7e172737
Merge pull request #25202 from woocommerce/update/3.9-changelog
3.9 changelog
2019-12-10 18:28:15 -03:00
Claudio Sanches cb3b538b2f 3.9 changelog 2019-12-10 18:26:11 -03:00
Rodrigo Primo e7d9f73e74
Merge pull request #25201 from woocommerce/fix/edge-native-reveal-password
Hide Edge native "reveal password" feature
2019-12-10 16:39:10 -03:00
Claudio Sanches da407ab4e1 Hide Edge native "reveal password" feature 2019-12-10 16:08:49 -03:00
Claudio Sanches cc92cf99d9 Updated changelog 2019-12-10 16:07:05 -03:00
Claudio Sanches 523c72f265 Fix WordPress nightly unit tests (#25198)
* Remove images after uploaded in WC_Tests_Product_Data

* Remove attachment after test

* Fixed image_id
2019-12-10 13:57:52 -03:00
Claudio Sanches c4bdfb015e Initial 3.9 changelog 2019-12-10 13:17:45 -03:00
Claudio Sanches a99b41a261
Merge pull request #25181 from woocommerce/update/packages
Updated Blocks and REST API packages
2019-12-10 12:31:03 -03:00
Claudio Sanches 57d5c88b13
Merge pull request #24876 from akshaya-rane/fix-product-bulk-edit
refs #24638 Fixed Stock status update on Bulk Edit
2019-12-10 12:29:48 -03:00
Claudio Sanches ab2c455783 Merge branch 'master' into update/packages 2019-12-10 11:40:56 -03:00
Claudio Sanches f19471a6df
Merge pull request #25197 from woocommerce/fix/25029.4
Applied setup wizard CSS fixes to the respective WP versions
2019-12-10 11:30:26 -03:00
Claudio Sanches cd241e691c Updated packages 2019-12-10 11:29:15 -03:00
Peter Fabian d8f49787a4 Better reflect variable purpose with updated name. 2019-12-10 14:22:30 +01:00