WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
[resolved] Search for empty string in default language (5 posts)

  1. wbali
    Member
    Posted 1 year ago #

    Hi,
    I use Polylang with the Hide URL language indo for default language enabled. When I seach for empty string '' in the default language, I get results from both languages, not only the default language.
    So for example http://example.com/?s=&submit=Search will return results from both languages, while http://example.com/?s=a&submit=Search recognizes that I am using the default language, so I get results from the default language only.
    I think it's a bug.

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using default or pretty permalinks?

  3. wbali
    Member
    Posted 1 year ago #

    I have selected the "Post name" option on the Settings/Permalinks page.
    eg. http://example.com/sample-post/

  4. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    The problem should now be solved in the new development version (0.9.5.1)
    http://downloads.wordpress.org/plugin/polylang.zip

  5. wbali
    Member
    Posted 1 year ago #

    It worked, thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags