Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

A while back I installed a plugin which, upon logout, re-directed users to /forums/.

Unfortunately, I have no idea which plugin that was and whether or not it's still active/installed.

What code/db settings can I look for to remove the offending code?

Thanks in advance,

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I discovered the Hikari Hooks Troubleshooter (http://hikari.ws/hooks-troubleshooter/) this weekend to find what plugins were loading my header with competing open graph metadata.

Enable it, and visit the frontend. There will be a modal dialog over your site which should list the hooks into wp_logout. One of these will be the offending plugin.

If you're still using the other parts of the plugin and there are no settings to turn that feature off, you should be able to remove it by adding remove_action('wp_logout', $plugin_function) to your theme's functions.php.

Make sure you disable HHT when you're done with it.

share|improve this answer
    
Got it! It was Simple:Press, and Hikari Hooks Troubleshooter gave me the hint: sp_logout_redirect. Found the option in the plugin now :) –  dunc Apr 26 '12 at 17:04
  1. Search your WordPress database: SELECT * FROM wp_options WHERE option_value LIKE '%forums%';
  2. The option_name of the returned rows should give you a pointer to the offending plugin
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.