id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 45418,Admin notices lose custom id and class attributes in Gutenberg editor,ianmjones,,"If a plugin creates a custom notice for display in the admin it usually includes an `id` and/or `class` attributes in the `div` that can be used to identify actions on it, such as dismiss. In the Gutenberg editor admin notices are being displayed with new styling and class attributes different to when displayed in the rest of the WordPress admin dashboard and seem to have the `id` and custom `class` attributes stripped. This makes it impossible for a plugin to identify its own notices and attach JavaScript handlers for the dismiss button and therefore properly register that the admin notice is no longer to be displayed.",defect (bug),closed,normal,,Editor,5.0,normal,reported-upstream,,,administration