[wp-trac] [WordPress Trac] #50442: Add prefixes to all admin notices (Warning, Error, Success, Info)

WordPress Trac noreply at wordpress.org
Tue Sep 24 16:47:58 UTC 2024


#50442: Add prefixes to all admin notices (Warning, Error, Success, Info)
-------------------------------------+-------------------------------------
 Reporter:  kebbet                   |       Owner:  joedolson
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.7
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-design needs-      |     Focuses:  ui, accessibility, ui-
  patch early                        |  copy
-------------------------------------+-------------------------------------

Comment (by apedog):

 Replying to [comment:28 joedolson]:
 > Regarding the warning icon: there is no icon of that description in the
 WordPress icon choices [..] I don't think we'll introduce a new icon for
 this purpose.
 There are yellow-bordered `.notice-warning` notices.
 (or did you mean the icons must be limited to the frozen/archived dashicon
 set?)

 > There was a specific reason we didn't use the 'x' icons for errors,
 which is because it creates ambiguity with the existing 'close' icons on
 dismissible notices.
 Yes. That's obvious.
 A circle with a strike-through is the next best "universal" then.
 That one has the disadvantage of being mostly white/transparent - as
 opposed to the other "bullet" icons. It has the advantage of not being a
 flag (which is a neutral-ish icon).

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


More information about the wp-trac mailing list