這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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