[wp-trac] [WordPress Trac] #52429: Combine/globalize the CSS/JS between Site Health & Privacy Settings

WordPress Trac noreply at wordpress.org
Sun May 23 17:36:20 UTC 2021


#52429: Combine/globalize the CSS/JS between Site Health & Privacy Settings
-------------------------+---------------------------------------
 Reporter:  xkon         |       Owner:  notlaura
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.8
Component:  Site Health  |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript, css, privacy
-------------------------+---------------------------------------

Comment (by notlaura):

 @Clorith Thank you for the notes – I was not familiar with this history,
 so this is helpful to know. I chose to consolidate the styles in edit.css
 because it looked to be enqueued on each admin screen – I am not 100% sure
 of this though, and need to validate it.

 My goal with this approach was to make it possible to edit CSS for both
 areas in a single location for the 5.8 milestone. I feel that moving the
 styles to a different stylesheet and generalizing the selector names would
 be better suited for a future release when there is more clarity about
 how/where these styles will be used. Then, we can intentionally choose
 generic selector names and introduce the overhead of a new stylesheet once
 there is a plan to utilize it for more than these couple of components.

 Again though, I am new to the history of these features and this CSS, so
 please let me know if my thinking is off-base here!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52429#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list