humanmade / humanmade/Mercator

Cookie loads

Open
#67 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
527
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Hi, this plugin works very well and in my experience of working with the alternative mapping plugin this is by far superior.. The only issue I have with it is the load time of this code injected into the html. Although it contains 0Bytes it more than doubles the load time of the page when I test with pingdom. I just wonder if there is an issue with it or not.

`

/* <![CDATA[ */
if ( 'function' === typeof MercatorSSO ) {
document.cookie = "wordpress_test_cookie=WP Cookie check; path=/";
if ( document.cookie.match( /(;|^)\s*wordpress_test_cookie\=/ ) ) {
MercatorSSO();
}
}
/* ]]> */
`

Thanks for any pointers
Richard

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.