WordPress.org

Make WordPress Core

Opened 3 months ago

#52429 new enhancement

Combine/globalize the CSS/JS between Site Health & Privacy Settings

Reported by: xkon Owned by:
Milestone: 5.8 Priority: normal
Severity: normal Version:
Component: Site Health Keywords: needs-patch
Focuses: javascript, css, privacy Cc:

Description

I'm opening this early on and marking for 5.8 after some discussions over slack with @Clorith.

Since the new Privacy Settings design was based on the existing Site Health design, it is using similar features (tabs menu, accordions etc). The CSS & JS used are a "copy" of the existing Site Health code with some minor alterations and renaming. It was done this way to avoid confusion and keeping things a bit more simple for the time being.

The idea of the discussion was to see if we can unify and make at least the common code available in general.

This will help with avoiding issues in future updates as we might make changes on one UI but forget to "sync" the changes to the other, as well as possibly help other screens that want to use similar styling or functionality.

Change History (0)

Note: See TracTickets for help on using tickets.