Flexible Spacer Block source code
By Aki Hamano, on WordPress.org since 2021. 4,000+ active installs.
Flexible Spacer Block switches the height of the spacer according to the device’s screen width (breakpoints). Below is its source code for every one of its 27 releases, what changed in the latest one, and how often it ships.
What changed in 2.10.0
Released Nov 5, 2026, 3 months after 2.9.0- Tested up to WordPress 7.2
- Drop support for WordPress 7.0
- Drop support for PHP 8.0 and 8.1
- Enhancement: Load front-end styles only on pages that contain the block
- Enhancement: Polish editor and settings page style
- Fix: Spacers with a height of 100px on all devices are changed to the default values when the post is opened
32 files changed since 2.9.0: 16 modified, 11 added, 5 removed.
- classes/class-enqueue.php modified, -1,308 bytes
- classes/class-init.php modified, +67 bytes
- classes/class-options.php modified, -2,365 bytes
- flexible-spacer-block.php modified, +1 bytes
- readme.txt modified, +700 bytes
- src/admin-style.scss modified, +153 bytes
- src/block.json modified, +40 bytes
- src/constants.ts modified, +159 bytes
- src/deprecated.tsx modified, +4,398 bytes
- src/edit.tsx modified, -1,913 bytes
And 22 more.
Compare 2.9.0 with 2.10.0Release history
27 releases since January 2021- 2.10.0 Nov 5, 2026 Tested up to WordPress 7.2
- 2.9.0 Jul 28, 2026 Tested up to WordPress 7.1
- 2.8.0 Mar 3, 2026 Tested up to WordPress 7.0
- 2.7.0 Nov 10, 2025 Tested up to WordPress 6.9
- 2.6.0 Mar 18, 2025 Tested up to WordPress 6.8