Fix privacy request confirmation checkbox alignment#11841
Conversation
|
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 Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
What?
Fixes the alignment of the confirmation email checkbox on the Add Data Export Request form.
Why?
The privacy request form was resetting margins for all inputs in
src/wp-admin/css/forms.cssaround line 1578:This overrode the default checkbox/radio margin declared in the same file around line 126:
As a result, the checkbox in
src/wp-admin/export-personal-data.phparound line 130 appeared vertically misaligned with its label.How?
Narrows the privacy request form selector so checkbox and radio inputs keep the default admin form control spacing, while other inputs continue to have their margins reset.
Screenshots
Testing Instructions
Trac
https://core.trac.wordpress.org/ticket/65246
Use of AI Tools
AI assistance: Yes
Tool(s): Codex
Model(s): GPT-5
Used for: Testing guidance, CSS fix suggestion. Final changes were reviewed and edited by me.