Skip to content

v3.2.11

Choose a tag to compare

@github-actions github-actions released this 10 Sep 13:55

Post Inserter Block

Added

  • Notice shown when no posts are found with the current filters.
  • Advanced filters panel auto-opens if filters are active (tags, exclusions, custom order).
  • Inner blocks locked (templateLock="all") to prevent inserting extra blocks.
  • Robust featured image handling with fallbacks (medium/large/full).
  • Updated toolbar implementation with ToolbarGroup + ToolbarButton (replaces deprecated Toolbar).

Fixed

  • Spinner no longer remains indefinitely when no posts are returned.
  • Prevented crash in QueryControlsSettings when tags or exclusions were undefined.
  • Image alignment "Show image on top" now works even if the large size is missing.
  • Block remains editable after saving the post without inserting posts yet.

Changed

  • RangeControl and FontSizePicker updated with __next40pxDefaultSize and __nextHasNoMarginBottom for compatibility with WordPress 6.8+.
  • Toggle button for advanced filters now uses variant="link" instead of deprecated isLink.
  • Refactored data fetching in withSelect to use _embed: true, reducing the need for extra API calls.
  • Deduplication store improved for cleaner block removal on unmount.