Automattic / babble

Multilingual WordPress done right.
https://wordpress.org/plugins/babble/
245 stars 50 forks source link

Babble doesn't play nicely with VIP Quickstart #310

Closed mdrovdahl closed 9 years ago

mdrovdahl commented 9 years ago

( ! ) Notice: Undefined property: Babble_Locale::$interface_lang_cookie in /srv/www/wp-content/themes/vip/internet_org-plugins/babble/class-locale.php on line 616

and

( ! ) Notice: Undefined property: Babble_Locale::$content_lang_cookie in /srv/www/wp-content/themes/vip/internet_org-plugins/babble/class-locale.php on line 605

I suspect that cookies aren't being set/read correctly when using Quickstart on a Zeroconf based URL (eg: http://vip.local) as I couldn't reproduce this on a QS install running on AWS with a real TLD.

mdrovdahl commented 9 years ago

Yeah, cookies are not being set (as of yet, unsure why), which is causing issues in the return(s) on functions: get_cookie_content_lang() and get_cookie_interface_lang()

mdrovdahl commented 9 years ago

Alright, maybe not strictly a Quickstart issue...but, this may still require some work to address the php notices.

mdrovdahl commented 8 years ago

For the cookie matter, see #351