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

WordPress Trac noreply at wordpress.org
Tue Sep 24 15:20:14 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 joedolson):

 Thanks @matthewmcvickar and @apedog! Regarding the warning icon: there is
 no icon of that description in the WordPress icon choices; the symbol used
 for warning throughout WordPress is the exclamation point, with no
 triangle. I don't think we'll introduce a new icon for this purpose.

 @matthewmcvickar I think that we should still avoid the ambiguity between
 the 'i' icon and the '!' icon, and using the paperclip for information
 makes sense to me.

 @apedog 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 and throughout the WordPress admin. We don't
 want to create an issue where people are clicking on this icon to close
 the notice.

 Overall, I like https://core.trac.wordpress.org/attachment/ticket/50442
 /proposed-admin-notices-icons-indented-text.png, and would like to see a
 patch for that with the icon change mentioned above.

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


More information about the wp-trac mailing list