Commit Graph

3 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
Jeff Stieler 7caba832f6
Refactor Tracks classes to remove singletons and static methods. (#22930) 2019-03-04 17:30:01 -07:00
Jeff Stieler 5c414507f9
Add Tracks events for product import start and finish. (#22787)
* Add Tracks events for product import start and finish.

* Move tracks event firing code into classes grouped by category/kind.

* Fix PHPCS warnings/errors with product and importer event tracking.

* Include products count in base Tracks data. (#22791)

* Add extensions page view tracking. (#22803)

* Add extensions page view tracking.

* Add tracking for extension searches. (#22804)
2019-02-21 15:45:43 -07:00