Repository navigation
Media & Text: Restore content padding (7.2 backport) - #85821
Conversation
…set (#85200) Co-authored-by: ariel-maidana <arielmaidana@git.wordpress.org> Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org> Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: im3dabasia <im3dabasia1@git.wordpress.org> Co-authored-by: softglazee <softglaze@git.wordpress.org>
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +16 B (0%) Total Size: 9.04 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Backspace in
|
What?
Backports #85200 to
wp/7.2. Fixes #85199, a regression from #83563.All credit for the fix goes to @ariel-maidana, who reported and fixed it. Thanks to @aaronrobertshaw and @ciampo for the review, and @t-hamano for flagging the backport.
Why?
WordPress 7.2 includes #83563, so classic themes with a CSS reset lose the Media & Text content padding on the front end.
How?
CHANGELOG.mdconflict; resolved it by adding only the Media & Text: Restore content padding in classic themes with a CSS reset #85200 entry.style.scssapplied cleanly, so the change is identical to Media & Text: Restore content padding in classic themes with a CSS reset #85200.Testing Instructions
Same as #85200: on Twenty Eleven, a Media & Text block gets its 8% content padding back on the front end.
Use of AI Tools
I used Claude Code to run the cherry-pick, resolve the changelog conflict and draft this description. I reviewed the diff and the description before opening the PR.