jakhoe
Member
Posted 8 months ago #
When using both http and https on the site, it is not possible to change the theme on https pages.
This is easily fixed by changing this line in 'get_cookie_name()':
$hash = 'wordpress_tts_theme_' . md5( get_home_url() );
to:
$hash = 'wordpress_tts_theme_' . md5( home_url('','http') )
Could you include this change in the next update?
Except from this, plugin is working perfectly! Thank you!
http://wordpress.org/extend/plugins/toolbar-theme-switcher/
Andrey "Rarst" Savchenko
Member
Plugin Author
Posted 8 months ago #
Thank you for reporting!
It seems that my local local stack is not setup for https development and testing right now, so not adding this immediately - noted to work on later.
lkraav
Member
Posted 5 months ago #
Great call @jakhoe, too bad I was re-inventing the wheel on this last night :)
Andrey "Rarst" Savchenko
Member
Plugin Author
Posted 5 months ago #
Plugin version 1.1.3 released with this fix.