Skip to content

[Backport to 7.1] Add opt-out for block style state controls - #81004

Merged
andrewserong merged 1 commit into
wp/7.1from
backport/80956
Jul 31, 2026
Merged

[Backport to 7.1] Add opt-out for block style state controls#81004
andrewserong merged 1 commit into
wp/7.1from
backport/80956

Conversation

@andrewserong

Copy link
Copy Markdown
Contributor

What?

Manual backport of #80956 to the wp/7.1 branch.

Why?

Merge conflicts in the changelog file meant that we needed to put up this manual backport instead.

How?

Following the instructions in: #80956 (comment)

Testing Instructions

Follow the testing instructions in #80956 and make sure that the block states and responsive styles editing controls are available by default, and can be switched off by block editor settings filters.

Use of AI Tools

Claude Code to resolve merge conflicts

* Add opt-out for block style state controls

* Also disable global styles state control

* Fix responsive styles editing in post editor global styles sidebar

* Tweak docs and changelogs

---------

Unlinked contributors: kevinpmiller.

Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
@andrewserong andrewserong self-assigned this Jul 31, 2026
@andrewserong andrewserong added the [Type] Enhancement A suggestion for improvement. label Jul 31, 2026
@andrewserong andrewserong added the [Package] Block editor /packages/block-editor label Jul 31, 2026
@andrewserong andrewserong added the [Feature] Style States Related to block style states (currently viewport and pseudo-states) label Jul 31, 2026
@github-actions github-actions Bot added the [Package] Editor /packages/editor label Jul 31, 2026
@github-project-automation github-project-automation Bot moved this to 🔎 Needs Review in WordPress 7.1 Editor Tasks Jul 31, 2026
@github-actions

Copy link
Copy Markdown

Size Change: +149 B (0%)

Total Size: 7.74 MB

📦 View Changed
Filename Size Change
build/scripts/block-editor/index.min.js 428 kB +48 B (+0.01%)
build/scripts/editor/index.min.js 501 kB +101 B (+0.02%)

compressed-size-action

@ramonjd ramonjd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

port LGTM

gave it a smoke test

@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@andrewserong
andrewserong merged commit a5fd6ad into wp/7.1 Jul 31, 2026
55 of 56 checks passed
@andrewserong
andrewserong deleted the backport/80956 branch July 31, 2026 04:59
@github-project-automation github-project-automation Bot moved this from 🔎 Needs Review to ✅ Done in WordPress 7.1 Editor Tasks Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Style States Related to block style states (currently viewport and pseudo-states) [Package] Block editor /packages/block-editor [Package] Editor /packages/editor [Type] Enhancement A suggestion for improvement.

Projects

Development

Successfully merging this pull request may close these issues.

3 participants