This plugin provides the ability to run HTML Tidy through all your posts, pages, and comments, generating a report on just how dirty your code is. Should you want to, the plugin can also automatically update your database with the cleansed data.

If you are unaware of it’s existence, HTML Tidy is a wonderful little tool that is embedded into almost everything nowadays. It’s purpose is to take potentially malformed HTML code and produce clean XHTML.

Tidy Up does not require any special PHP configuration. As long as you have the ability to run executables then the plugin will work. Currently the plugin contains Tidy executables for:

  • Linux
  • Windows
  • Mac OS X
  • FreeBSD

It is likely that your web host runs one of these.

Documentation

Full documentation can be found on the Tidy Up Page page.

Turn on DEBUG!!! ERRORS on TOOLS > TIDY UP admin page

By phatjay on February 7, 2017

/home/www/example.com/dev_sandbox/wp-content/plugins/tidy-up/tidy.linux -config /home/www/example.com/dev_sandbox/wp-content/plugins/tidy-up/wordpress.configsh: /home/www/example.com/dev_sandbox/wp-content/plugins/tidy-up/tidy.linux: Permission denied
Notice: clean_pre is deprecated since version 3.4 with no alternative available. in /home/www/example.com/dev_sandbox/wp-includes/functions.php on line 2921

Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /home/www/example.com/dev_sandbox/wp-includes/functions.php on line 2919

/home/www/example.com/dev_sandbox/wp-content/plugins/tidy-up/tidy.linux -config /home/www/example.com/dev_sandbox/wp-content/plugins/tidy-up/wordpress.configsh: /home/www/example.com/dev_sandbox/wp-content/plugins/tidy-up/tidy.linux: Permission denied
Notice: clean_pre is deprecated since version 3.4 with no alternative available. in /home/www/example.com/dev_sandbox/wp-includes/functions.php on line 2921

Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /home/www/example.com/dev_sandbox/wp-includes/functions.php on line 2919

1.0

  • Initial release

1.1

  • Fix CSS path
  • Add option for tidying excerpt
  • Remember type
  • Aadd view/edit icons
  • AJAX support

1.2

  • Use database prefix and wpurl
  • Allow tidying of drafts

1.3

  • WP 2.8 compatibility

The plugin is simple to install:

  1. Download tidy-up.zip
  2. Unzip
  3. Upload audit-trail directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin
  5. Configure the plugin from Management/Tidy Up

You can find full details of installing a plugin on the plugin installation page.

Reviews

1 out of 5 stars

  • Version: 1.3
  • Last updated: 12 years ago
  • Active installations: 40
  • WordPress version: 2.0
  • Tested up to: 3.2.1
  • PHP version: false