[wp-trac] [WordPress Trac] #44941: Support `warning` and `info` type notices in settings errors

WordPress Trac noreply at wordpress.org
Wed Sep 26 21:19:23 UTC 2018


#44941: Support `warning` and `info` type notices in settings errors
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots ui-        |     Focuses:
  feedback                                       |  administration
-------------------------------------------------+-------------------------
Changes (by javorszky):

 * keywords:  has-patch 2nd-opinion needs-testing => has-patch has-
     screenshots ui-feedback


Comment:

 This looks good! Tried with

 {{{#!php
 add_settings_error( 'bulk_action', 'bulk_action', 'Error text', 'info' );
 }}}

 and

 {{{#!php
 add_settings_error( 'bulk_action', 'bulk_action', 'Error text', 'warning'
 );
 }}}

 They look like this:

 [[Image(https://d3vv6lp55qjaqc.cloudfront.net/items/0U1q2G3c0Z0C1Q1B0N1t/Screen%20Shot%202018-09-26%20at%2022.08.55.png?X
 -CloudApp-Visitor-Id=1478520)]]

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


More information about the wp-trac mailing list