WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP-Options-Manager

This plugin let you browse, delete and debug the entrys of your WP options table. A nice way to remove deprecated options from uninstalled plugins.

I can't activate the plugin in WordPress?

For sure: You use PHP 4. Please upgrade to PHP 5. PHP 4 is no longer supported. ;)

Is it risky to delete options from the database table?

For sure! So please only delete options if you are really really sure that the options are no longer needed by WordPress or the sky will fall on your head. ;)

Why should I keep my options database table clean?

The less data, the less the load of your WordPress installation.

What does debug mean?

Most of the WordPress options were saved serialized (read: http://php.net/serialize). The debug link simply uses php to unserialize the option value and display it in a readable format.

Does the debugger translate timestamps in a readable format?

Yes, the debugger recognizes timestamps and translates them to a readable format.

Does the debugger translate strings?

No. A string is a string dude.

How does the automatic search for deprecated options work?

The plugin reads all (activated or installed, just as you like) php files of your plugins by searching for the functions "get_option" and "update_option". After that the wp-options-manager trys to extract the names of the options. Then the entrys of the database table is loaded and the found options are matched against the options from your plugins. But: That doesn't work by 100%! Don't delete if you are not sure if you need this option for your WordPress! Use the plugin source code search tool to verify if an option is found in any source file to verify.

Why shows the automatic search me surely needed options as "Maybe you can delete"?

Well, the search for the options in the plugin files is a bit complicated. If the developer simply writes "get_option('my_plugin_option')" it's very easy. But sometimes they put their option names into variables or defines and use this as parameter e.g. "get_option($MyPluginOptionName)". This is very heave to parse, believe me. If someone has a better idea or can improve the existing code, please drop me an email.

What is the "search for a term in plugin source files"?

With this feature you can search for a string in all activated or installed (your choice) plugin files. If any match is found the tool will display the filename in which the term is found and how many matches we have. To verify the match a code snippet is printed. If there are any hits to an option you don't know please don't delete that option. In most of the cases the option is required by the plugin if it's found in a source file.

After activating the plugin my WordPress get's terrible slow, why?

By default the WP Options Manager collects informations which options are accessed by WordPress and the activated plugins. That means that I had to filter every option that is accessed. That slows your WordPress a bit down but on a normal machine it should be no problem. If your host is to slow turn the automatic collection of accessed options feature off. That will solve the problem.

What does the colors of the list under "Automatically collected accessed options" mean?

If the color is green, the option was accessed in the last 7 days. If the color is yellow the last access is more than 7 days ago. Orange indicates that the access is more than 14 days and red more than 30 days ago. Important: If an option is red it does NOT mean that the option is not needed by a plugin. See next paragraph!

Is it safe to delete red marked options that are listed under "Automatically collected accessed options"?

No they are not safe to delete. Why? Some options are only accessed when you change the configuration of a plugin. Maybe you'd changed a plugin option before 6 month, the option will be shown red, but for sure this option is needed. Only delete if you are sure that the plugin that uses the option is not activated or deinstalled. You'll find further informations on that in the next paragraph.

Why are not all options recognized by the automatically collect accessed options feature?

It's a programming problem. I made it to make my plugin first in the plugin load list and when my plugin loads I generate filters for the WordPress function "get_option" which loads the content of an option. With my filters it's possible to store wich options were accessed and when they were accessed. But: Some options weren't loaded when the plugin loads. They were loaded when the user clicks on the configuration page of the admin panel (example). My hint: Click around your admin panel and through some sites of your blog. The WP Options Manager will recognize the used options and store the access.

What does the method "wp_options_manager::_make_me_first_in_plugin_load_list()" do?

Because I have to add my filters for the "get_option" function of WordPress first I must be sure that the WP Options Plugin is on FIRST position in the plugin load list. The problem is that WordPress loads the plugins alphabetically - maybe that is not a good idea? ;) - so I had to rewrite the value of the WP option "active_plugins". The method rearranges the order of the array containing the active plugins.

Which PHP Version is required?

You'll need PHP 5 or above. Maybe if there are many users with an old PHP 4, I can downgrade the plugin to PHP 4. Or - if you are a smart guy - you'll replace the function "str_ireplace" by own code ;). But since PHP 4 is not longer developed you should upgrade to PHP 5 soon. PHP 5 is much comfortable.

Are there any configuration options?

Yes, the options are filed under the name "wpom_setup_information". Actually you only can turn off the automatic collection of accessed options feature.

Are you gonna improve the plugin?

Yes and I did that multiple times in the past. Please report your ideas to me and help to improve this plugin.

Why is your english so terrible?

I'm from germany, sorry for my bad english.

Requires: 2.8 or higher
Compatible up to: 2.8
Last Updated: 2009-6-12
Downloads: 8,524

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
100,1,1
100,2,2
100,1,1
100,2,2
100,1,1
100,1,1
0,5,0
0,1,0