Linux 软件免费装

Plugin Name

开发者 martinhurford
更新时间 2012年1月9日 09:23
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.3.1

标签

remove comments wp_head

下载

详情介绍:

Plugin authors sometimes add comments between the <head> tags highlighting the output from their plugin. If you don't like these comments, for whatever reason, then this plugin will remove them for you. Specifically comments are removed from the output of the wp_head function so comments in theme templates will not be affected.

安装:

The automatic plugin installer should work for most people. To manually install the plugin:
  1. Upload the plugin folder to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

常见问题:

What does this plugin do?

It removes comments inserted between the <head> tags by some plugins

Why?

  1. It makes the code look purdy.
  2. Prevents advertizing which plugins are active. Potential hackers may look for specific plugins to exploit vulnerabilities.
  3. It makes the generated HTML file a little smaller. Less to send over the wire.
  4. Mostly No.1 though.

Does it remove the IE conditional comments output by plugin XYZ?

No. IE conditional comments are ignored.

更新日志:

1.0