[Plugin: WordPress Post Tabs] http vs https, plugin breaks — a fix
-
This plugin hardcodes http://, but I (and likely others) use HTTPS/SSL. This might cause the plugin not to function due to browser security policies.
To fix…
Go to line 236:
$pageurl=”http://” . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];And replace it with this:
$pageurl = (isset($_SERVER[‘HTTPS’]) || $_SERVER[‘PORT’] == 443 ? ‘https’ : ‘http’).”://” . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’];
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘[Plugin: WordPress Post Tabs] http vs https, plugin breaks — a fix’ is closed to new replies.