Skip to content

v0.13.1

Choose a tag to compare

@github-actions github-actions released this 20 Jun 20:35
· 16 commits to main since this release

Fixed

  • A collection whose slug is purely numeric (e.g. 2026) no longer triggers a critical error. PHP coerces a numeric-string array key to an integer, so the slug-keyed discovery map handed an int to code that expected a string: the admin Photo Drop Collections page fatally errored the moment such a collection existed. The same coercion made the REST collections endpoint emit the slug as a JSON number — breaking the block editor's collection selector — and let the Create form's existing-slugs list miss a numeric-slug collision in its on-blur uniqueness check. The collection itself was always created correctly; only these consumers mishandled the key, and each now treats it as the string it represents.

Full changelog: https://github.com/Kntnt/kntnt-photo-drop/blob/v0.13.1/CHANGELOG.md