Skip to content

0.1.3

Latest

Choose a tag to compare

@vvaz vvaz released this 04 Oct 13:29
· 1 commit to main since this release

Patch release fixing language URL resolution.

  • Fix: separate language domains and subdomains resolve regardless of the host's letter case (ENGLISH.TEST as english.test). Paths, query parameters and language slugs stay case-sensitive; unknown hosts, unsupported schemes, userinfo and conflicting lang selectors are still refused.
  • Fix: a language on its own domain or subdomain without a translated static front page resolves its home to null instead of the default language's front page.
  • Fix: #comment-ID URLs resolve only in their post's language, through the comment loader's visibility checks.
  • Tests: URL regressions cover lowercase, uppercase and mixed-case hosts in every URL mode, root and subdirectory installations, unknown hosts, and comment URLs.

GitHub CI passed on the minimum (WordPress 6.5, PHP 7.4, WPGraphQL 2.0.0, Polylang 3.7) and current (WordPress 7.1.2, PHP 8.4, WPGraphQL 2.23.1, Polylang 3.8.10) stacks.