Plugin Directory

Clean Options

License

Released under the terms of the GNU General Public License.

Long Description

The Clean Options plugin provides an easy way for WordPress bloggers to manage their wp_options table. It has many built in safety features that will help prevent accidental deletion of table rows that may be needed for the error free operation of the blog. It's goal is to give plugin users an easy and safe way to get a bloated wp_options table down to a manageable size, thus improving the performance of their blog, and keep it that way. It also provides warning messages that will alert plugin users of potential problems that are encountered.

In addition to the warning messages, option names can be double-checked by following the link to the wp-admin/options.php page, using the Google search links, and by searching the wp-content folder for files that contain either the option_name outside of get_option, or fragments of the option_name (up to 3 pieces).

Other Notes

Orphaned Options List

Listed Options are those that are found in the wp_options table but are not referenced by "get_option" or "get_settings" by any of the PHP files located within your blog directory. If you have deactivated plugins and/or non-used themes in your directory, the associated options will not be considered orphaned until the files are uninstalled.

When shown, non-selectable Options are known to have been created from files present during upgrade or backup, or are legitimate options that do not "fit" the search for get_option or get_settings (eg. core WordPress files that use alternate "non-string" syntax). If you wish to remove them by other means, do so at your own risk.

RSS Options

The plugin handles the rss_hash options, added to the wp_options table from the blog's dashboard page and other files that parse RSS feeds and cache the results, in three ways.

If the wp_options table contains more than 500 rss_hash options, the "delete all" feature will be available. Submitting the "Delete ALL 'rss' Options" may delete ALL "rss_hash" rows from the wp_options table, including the CURRENT ones. It is not expected that doing so will cause any problems, however, it makes the performance of a database BACKUP prior to deletion even more important. To help ensure that no current "rss" options are deleted, the plugin makes the last 100 entries of the wp_options table exempt from the "delete all". But depending on your installation history this may not be adequate protection.
The "rss_hash" rows are not retrieved and displayed, but simply deleted. Even with the built in safety feature, it is recommended that instead of doing this, that the number of rss_hash options found be limited to only a selected number of the most recent at a time, being repeated as needed.

If the wp_options table contains more than 350 options, radio buttons are visible that will allow the number of rss_hash options found to be limited to various numbers of most recent pairs. This can be repeated until the number of options is less than 350.

When the wp_options table contains less than 350 options, the plugin finds ALL of the "RSS" Options. In each pair, the upper option is the cached feed and the lower is the option's timestamp.
Those listed may include options that are Currently Active
When shown, rss_option pairs with dates newer or the same as the date of 14'th newest rss_option pair (the ones that are more likely to be current) have no checkbox but begin with "-" and end with "# days old" in italics.
The older rss_options can be selected and end with "# days old" in bold.
Please only remove the older options in which BOTH options of the pair can be selected.

For convenience, a javascript select/deselect all has been added to the plugin. "all" means BOTH "plugin" AND "rss_" options.

Orphaned Options Review

Spaces have been added after every 10th character of the option_name and every 20th character of the option_value to preserve page layout.
Not all options have values.
Please review this information very carefully and only remove Options that you know for certain have been orphaned or deprecated.
It is strongly suggested that you BACKUP your database before removing any options.

More Info

For more information, please visit the plugin's page
Clean Options

For support, please visit the forum (registration required to post)
Support

For comments / suggestions, please visit the blog
Comments / Suggestions

If you would like to provide a translation, please leave a comment at
Ping Watcher Translations

Translation Acknowledgements

be_BY Fat Cow Fat Cow
es_ES Samuel Aguilera Desarrollo web con WordPress
ru_RU Vadim N. Visit my Portfolio
uk_UA Vadim N. Visit my Blog

** AN IMPORTANT NOTE **

If you used a previous version of this plugin's "delete all" feature, please upgrade to this version.
For Localization, the languages folder must be included in the Clean Options folder.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (1 reporting)

100%
100,1,1
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(19 ratings)