Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Search Fixer

Beskrivning

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.

Installation

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Search Fixer” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Search Fixer” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.