Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

andrejcremoznik on "[Plugin: Polylang] Language choose not storing session or cookie?"

$
0
0

@Chouby, this bit (core.php:486):

if (false === stripos($_SERVER['SCRIPT_NAME'], $GLOBALS['wp_rewrite']->index)) {
	$this->curlang = $this->get_preferred_language();
	return;
}

prevent the plugin from working correctly in my case. After commenting it out, everything worked flawlessly.

What is it for and is it really needed?


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>