[wp-trac] [WordPress Trac] #57827: Remove `wp-nux` CSS as dependency from `wp-edit-post` and `wp-editor`.

WordPress Trac noreply at wordpress.org
Tue Feb 28 21:42:36 UTC 2023


#57827: Remove `wp-nux` CSS as dependency from `wp-edit-post` and `wp-editor`.
---------------------------+-----------------------------
 Reporter:  peterwilsoncc  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  performance    |
---------------------------+-----------------------------
 The CSS for both `wp-edit-post` and `wp-editor` list the `wp-nux` CSS file
 as a dependency. This results in `nux.css` being loaded when using these
 packages.

 Neither `wp-edit-post` or `wp-editor` use any of the styles included in
 `nux.css` so the dependency can be removed.

 Related #57643.

 A [https://github.com/WordPress/wordpress-develop/pull/3910 pull request]
 exists for this. I'll see if I can get it to link to this ticket too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57827>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list