Skip to content

v1.1.0

Choose a tag to compare

@adamjohnlea adamjohnlea released this 23 May 16:46
· 18 commits to main since this release

Safe-mode hardening

  • Safe mode now contains fatal errors in deferred hook callbacks and uncatchable fatals via a shutdown handler.
  • Non-fatal PHP warnings are recorded and surfaced as a dismissible admin notice instead of deactivating the snippet.
  • Oversized snippet code (over 256 KB) now shows an admin notice instead of being dropped silently.

Added

  • Snippet creation and editing are disabled when the site defines DISALLOW_FILE_MODS or DISALLOW_FILE_EDIT.

Fixed

  • Snippet capability mapping so the editor and save flow resolve correctly for administrators.

Requirements

  • WordPress 6.5+
  • PHP 8.2+

Download: leastudios-snippets-1.1.0.zip (attached below). Historical release — backfilled for completeness.