[wp-trac] [WordPress Trac] #63907: Remove unused classes and CSS from forms.css
WordPress Trac
noreply at wordpress.org
Mon Sep 1 22:01:36 UTC 2025
#63907: Remove unused classes and CSS from forms.css
--------------------------+-----------------------------
Reporter: joedolson | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.6
Severity: normal | Keywords:
Focuses: css |
--------------------------+-----------------------------
While reviewing all extant uses of generated content for #40428, I came
across three classes where I couldn't identify any usage.
Starting here: https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/css/forms.css#L1469
The classes `.email-personal-data`, `.email-personal-data--sending`, and
`.email-personal-data--sent` don't appear to be in use.
They were committed in https://github.com/WordPress/wordpress-
develop/commit/33979450aca7de46e784eb2d422b8772b24ebda3, but I was unable
to identify how they were used in that commit, either.
There are some similar classes that are in use: `export-personal-data-
success`, for example, which makes me think that these are earlier
versions of the implementation that were never removed.
That said, just because I can't find these doesn't mean they aren't there;
and there may be additional CSS here that isn't in use.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63907>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list