[Plugin: Mobile Smart] Cookies not setting (with solution)
-
I’m having a problem with the 1.3 version of the plugin not setting cookies. I’m using wordpress 3.3.1
I made a small change to the plugin here is the code block I modified, staring on line 959// set the cookie to say which version it is setcookie(MOBILESMART_SWITCHER_COOKIE, $version, time()+MOBILESMART_SWITCHER_COOKIE_EXPIRE, COOKIEPATH, str_replace('http://www','',get_bloginfo('url')));changed to
// set the cookie to say which version it is setcookie(MOBILESMART_SWITCHER_COOKIE, $version, time()+MOBILESMART_SWITCHER_COOKIE_EXPIRE, COOKIEPATH, COOKIE_DOMAIN,false,false);Now it sets cookies just fine. Hopefully this issue can be resolved in an upcoming release.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: Mobile Smart] Cookies not setting (with solution)’ is closed to new replies.