site-kit-wp
site-kit-wp copied to clipboard
Consider HTTP/HTTPS when comparing site URL with Analytics/AdSense URLs
If you have an existing Analytics property that matches your site URL, except for the scheme (HTTP vs HTTPS), it currently isn't detected as a match, although it should. The same should apply to AdSense, and any other module where such detection takes place.
The permute_site_urls() method used by Search Console is the perfect foundation to achieve that. Let's make sure the other modules use it as well, to fix this bug.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Changelog entry
- Fix URL matches for http and https variations in Analytics and AdSense modules.