Skip to content

Block Validation Errors Patch#35

Merged
jasperf merged 1 commit into
mainfrom
block-validation-errors-patch
Mar 17, 2026
Merged

Block Validation Errors Patch#35
jasperf merged 1 commit into
mainfrom
block-validation-errors-patch

Conversation

@jasperf

@jasperf jasperf commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Version 2.7.1 addresses block validation errors in carousel patterns that were causing compatibility issues with WordPress 6.7+. The fix targets separator block markup in carousel-related patterns, replacing the deprecated inline opacity style format with the simplified format that inherits theme colors automatically. This release updates the three required version files — elayne-blocks.php, CHANGELOG.md, and readme.txt — in sync per the project's version management policy.

Bug Fixes:

  • Fixed carousel pattern validation errors caused by separator blocks using the legacy format with inline opacity styles and custom background-color values, which is incompatible with WordPress 6.7+.
  • Separator blocks in patterns now use the simplified has-alpha-channel-opacity format without inline style overrides, resolving block validation warnings in the editor.

Version Bump:

  • Plugin version incremented from 2.7.0 to 2.7.1 across elayne-blocks.php (plugin header and ELAYNE_BLOCKS_VERSION constant), CHANGELOG.md, and readme.txt (Stable tag and changelog section).

Files Changed:

- Fix block validation errors in all 5 built-in carousel patterns by
  aligning div classes and data-* attributes with the save function output
- Remove inline style="width:Npx" from slide blocks in portfolio-showcase
  pattern (save function never outputs this attribute)
- Fix speed defaulting to 500 in patterns; correct default is 300
- Add missing lazyLoad, data-dots-top/bottom, and data-arrow-* attributes
@github-actions

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@jasperf jasperf merged commit 2373531 into main Mar 17, 2026
2 checks passed
@jasperf jasperf deleted the block-validation-errors-patch branch March 17, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant