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

Search Fixer

描述

Search Fixer makes “pretty” search links work properly. A pretty search link usually looks like this:
http://example.com/search/waldo
Because of a bug in WordPress, pretty search links with spaces in them do not work. Search Fixer fixes that bug.

If you use Search Meter‘s widgets, you should install Search Fixer too.

Technical details

The bug is WordPress bug 13961. This prevents “pretty” search URLs from working properly. For example, http://example.com/search/hello%20world should search the example.com blog for the words “hello” and “world”, but because of the bug it actually searches for “hello%20world” and fails to find anything.

When the WordPress bug is fixed (probably sometime in 2011) Search Fixer will no longer be necessary. I will keep Search Fixer up to date so it won’t interfere when the WordPress bug gets fixed.

安装

Simply install and activate through the ‘Plugins’ menu in WordPress.

If you want to install manually, upload search-fixer.php to the /wp-content/plugins/ directory and then activate the plugin through the ‘Plugins’ menu in WordPress.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Search Fixer”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

2.0

  • Search links to multi-word searches now work. For example, a search link for “hello world” will find posts that contain those two words anywhere in the post.

1.0

  • Internal version, not publicly released.
  • Search links function correctly, but multi-word searches do not work. For example, a search link for “hello world” will only find posts that contain that exact phrase.