该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Tidy Up

描述

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.

屏幕截图

  • Tidy options
  • Tidy report

安装

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.

评价

2017年2月7日
/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
阅读所有2条评价

贡献者及开发者

“Tidy Up” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Tidy Up”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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