Skip to content

v1.0.5

Choose a tag to compare

@oxyc oxyc released this 12 Aug 12:58
· 1 commit to master since this release
2623218

Fixed

  • Internal links now keep their query string and fragment when rewritten to another language. url_to_postid() resolves on the path alone and get_permalink() rebuilds the URL from scratch, so a link like /konfiguroi/?tuote=window#tiedot lost everything after the path — on every frontend render, source language included. Covers both the render_block_data path and Polylang's sync path (#2).

Developer

  • PHPUnit suite covering the Polylang block filters, run against WordPress + Polylang via wp-env (#2, #3).
  • Test workflow runs lint and PHPUnit on every pull request.
  • CI dispatches a Satis rebuild when a release is cut (#1).