I'm creating a site to showcase various themes, and I'd like to power it with your plugin.
I have enabled the toolbar for all users with the following hook:
add_filter( 'show_admin_bar', '__return_true' , 1000 );
I have enabled all users to switch themes using the Toolbar Theme Switcher with:
add_filter( 'tts_can_switch_themes', '__return_true' );
This is all well and good, but when non-logged in users try and switch themes, wp-ajax.php is (correctly) returning 0.
To make this work, I've added the following hook to toolbar-theme-switcher.php's init method, right under the action for wp_ajax_tts_set_theme:
add_action( 'wp_ajax_nopriv_tts_set_theme', array( __CLASS__, 'set_theme' ) );
I was wondering if you might add this to the plugin?