Automattic / babble

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

Cookies shouldn't use `$wpdb->prefix` #232

Closed simonwheatley closed 9 years ago

simonwheatley commented 9 years ago

Currently the cookies in Babble_Locale use names which are set on plugins_loaded and which include the database prefix.

The database prefix is included in the name so that if there is a subdirectory Multisite a user can have different languages for each site. We should instead use a cookie path to segregate the cookies.