I am also having the same exact issue.
Latest version of this plugin (1.6)
+ WordPress 4.1.
Thank you.
Hi,
Just confirming a basic check. Is the SSO logout url configured in Freshdesk pointing to WordPress ?
Currently my Single Sign On (SSO) is disabled
Admin>security.
All i’m simply using this plugin for a widget on the side for creating a ticket.. which works fine — but when I’m logged in WordPress as an admin the URL for logging out is modified to …
“http://myaccountname.freshdesk.com/helpdesk/logout”
Instead of the normal wordpress logout:
“http://mydomain.com/wp-login.php?action=logout”
How can I get this plugin not to modify this functionality.
Logout is part of this plugin feature and if you are not using the SSO feature of this plugin then there is a workaround to avoid the logout overwrite.
1) Go to : wordpress_root/wp-content/plugins/freshdesk-support
2) Open the file freshdesk-ext.php
3) And comment out line 26 which looks like
add_filter(‘logout_url’, ‘fd_logout_url’); // For changing the logout url to point to Freshdesk.
to
//add_filter(‘logout_url’, ‘fd_logout_url’); // For changing the logout url to point to Freshdesk.
4) This should solve the problem, if not try restarting Apache/nginx after doing the change.
We’ll take this as a valid request and bring in a tick option in the plugin settings page to enable/disable SSO login/logout in our next version of the plugin.
Regards,
Bala.
Ah, so I wasn’t the only one affected by this.
Yes, please add an option to override this behaviour.
Many thanks,
Aidan