{"id":578,"date":"2011-06-08T22:45:21","date_gmt":"2011-06-08T09:45:21","guid":{"rendered":"http:\/\/www.thunderguy.com\/semicolon\/?p=578"},"modified":"2012-02-03T11:07:53","modified_gmt":"2012-02-02T22:07:53","slug":"search-fixer-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/thunderguy.com\/semicolon\/2011\/06\/08\/search-fixer-wordpress-plugin\/","title":{"rendered":"Search Fixer: a WordPress plugin"},"content":{"rendered":"<p>I have created a plugin to solve a subtle but annoying WordPress bug. With the Search Fixer plugin installed, search links like those in <a href=\"http:\/\/www.thunderguy.com\/semicolon\/wordpress\/search-meter-wordpress-plugin\/\">Search Meter<\/a>&#8216;s &#8220;Recent Searches&#8221; widget should work correctly.<\/p>\n<p>The bug is <a href=\"http:\/\/core.trac.wordpress.org\/ticket\/13961\">WordPress bug 13961<\/a>. This prevents &#8220;pretty&#8221; search URLs from working properly. For example, <em>http:\/\/example.com\/search\/hello%20world<\/em> should search the example.com blog for the words &#8220;hello&#8221; and &#8220;world&#8221;, but because of the bug it actually searches for &#8220;hello%20world&#8221; and fails to find anything.<\/p>\n<p>Search Fixer should make everything work as you&#8217;d expect. Sometime during <del datetime=\"2012-02-02T22:06:46+00:00\">2011<\/del> 2012 the bug fix should make it into the WordPress core. At that time I will update this page and we will all be able to deactivate Search Fixer and breathe a sigh of relief.<\/p>\n<h3>Install<\/h3>\n<p>The <a href=\"http:\/\/wordpress.org\/extend\/plugins\/search-fixer\/\">Search Fixer<\/a> plugin is in the WordPress plugin repository, so you can install it using the Plugins section in your WordPress console.<\/p>\n<p>Feel free to <a href=\"https:\/\/github.com\/bennettmcelwee\/Search-Fixer\">fork the project on GitHub<\/a> if you want to tinker with it. And <a href=\"http:\/\/www.thunderguy.com\/semicolon\/donate\/\">send me a Bitcoin<\/a> if you find the plugin useful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have created a plugin to solve a subtle but annoying WordPress bug. With the Search Fixer plugin installed, search links like those in Search Meter&#8216;s &#8220;Recent Searches&#8221; widget should work correctly. The bug is WordPress bug 13961. This prevents &#8220;pretty&#8221; search URLs from working properly. For example, http:\/\/example.com\/search\/hello%20world should search the example.com blog for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[57,83],"class_list":["post-578","post","type-post","status-publish","format-standard","hentry","category-general","tag-search","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/posts\/578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/comments?post=578"}],"version-history":[{"count":9,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/posts\/578\/revisions"}],"predecessor-version":[{"id":584,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/posts\/578\/revisions\/584"}],"wp:attachment":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/media?parent=578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/categories?post=578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/tags?post=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}