-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracks: Don't track users in dev mode or when opted out (#13698)
Don't track users in dev mode or when opted out * Fix all phpcs issues This will avoid having to bypass the pre-commit hook for all commits to this file * [not verified] Opt out of tracking in dev mode in legacy branch. * PHPCS fixes * Include development mode check within Jetpack::jetpack_tos_agreed. The TOS check is used for confirming that a site is "Trackable". For sites in development mode or are not active, we should not track them. * Docblock for is_active_and_not_development function * Bring cookie check back Just to be sure. See Automattic/jetpack#13698 (comment)
- Loading branch information
Showing
2 changed files
with
85 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters