[wp-trac] [WordPress Trac] #47656: Remove 'Error:' prefixes from error notices as they're redundant

WordPress Trac noreply at wordpress.org
Tue Jun 16 15:31:42 UTC 2020


#47656: Remove 'Error:' prefixes from error notices as they're redundant
-------------------------+-------------------------------------------------
 Reporter:  garrett-     |       Owner:  audrasjb
  eclipse                |
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.5
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui, accessibility, administration,
  commit                 |  ui-copy
-------------------------+-------------------------------------------------

Comment (by afercia):

 There are also a few cases where a warning admin notice has a bold
 "Warning" prefix :)

 For example:

 [[Image(http://cldup.com/WuasphgdAT.png)]]


 {{{
 <div class="notice notice-warning inline active-plugin-edit-warning">
         <p><?php _e( '<strong>Warning:</strong> Making changes to active
 plugins is not recommended.' ); ?></p>
 </div>
 }}}

 Which leads us to one of the points mentioned on the relevant conversation
 on Slack:
 > WordPress displays errors, warnings, info notices. Should we then add
 the word “Warning” to warnings and “Info” to informational messages?
 (edited)

 > As a user, I’m interested in the content of the message. Not interested
 that much in the color it uses or the category it belongs to.

 I'd tend to think this is one more inconsistency which should be addressed
 separately.

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


More information about the wp-trac mailing list