Releases: pixelgrade/style-manager
Releases · pixelgrade/style-manager
2.2.10-beta.1 - Safari font fix
Pre-release for testing
Fix
- Safari: Font selection crash for multi-variant fonts (#47) —
requestIdleCallbackis not available in Safari < 16.4. Fonts with 2+ variants (e.g. Lato) would crash the Customizer, while single-variant fonts (e.g. Adamina) worked fine. AddedsetTimeoutfallback.
Testing
- Open Customizer in Safari
- Change any font field to "Lato" (or another multi-variant font)
- Preview should update and Publish button should become active
- Verify single-variant fonts (e.g. Adamina) still work
- Verify Chrome is not affected (regression check)
Style Manager 2.2.9
PHP 8.5 Compatibility
Ensures full compatibility with PHP 8.1, 8.2, 8.3, 8.4, and 8.5 — zero deprecation notices at runtime.
Changes
- Fix
${var}string interpolation deprecated in PHP 8.2 - Fix implicit nullable parameters deprecated in PHP 8.4
- Fix passing null to non-nullable internal function parameters deprecated in PHP 8.1 (14 locations in
src/, 25 locations in Carbon Fields) - Fix PHP 4-style
varclass property declaration deprecated in PHP 8.2 - Add null guard for
$_GET['plugin']in WUpdates update checker - Add PHP 8.1 downgrade set to Rector build pipeline
- Update PHPCompatibility test version from 7.0 to 7.1
- Update symfony polyfill dependency constraints to
^1.27 - Document Carbon Fields compatibility patches for future reference
Minimum Requirements
- WordPress 5.5+
- PHP 7.1+ (tested up to PHP 8.5)
Full Changelog: 2.2.8...2.2.9
v2.2.8 — WordPress 6.9.1 compatibility
What's Changed
Compatibility
- Upgrade Carbon Fields library to version 3.6.9 for WordPress 6.2+ compatibility (React 18)
- Fix Settings page not rendering fields on WordPress 6.2+
- Fix PHP 8.2
ReturnTypeWillChangedeprecation notices from Carbon Fields - Tested with WordPress 6.9.1
Security
- Sanitize
$_SERVER['REQUEST_URI']in exception message - Replace
$_SERVER['PHP_SELF']with global$pagenow - Add capability check to AJAX migration handler
- Cast
sm_site_color_variationto integer in JS output - Escape RadioImage control colors, labels, and data attributes
Build
- Fix production autoloader including dev dependency references (fatal error on activation)
Full Changelog: v2.2.7...v2.2.8