[wp-trac] [WordPress Trac] #44640: Use current `.notice` CSS classes for settings errors

WordPress Trac noreply at wordpress.org
Thu Aug 15 23:00:48 UTC 2019


#44640: Use current `.notice` CSS classes for settings errors
----------------------------+-----------------------------
 Reporter:  flixos90        |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.3
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45814" 45814]:
 {{{
 #!CommitTicketReference repository="" revision="45814"
 Administration: In `add_settings_error()`, add `warning` and `info` as
 possible values for message type.

 Account for these new values in `settings_errors()`, resulting in `notice-
 warning` and `notice-info` CSS classes.

 Map legacy `error` and `updated` CSS classes to `notice-error` and
 `notice-success`.

 Props donmhico, toddhalfpenny, flixos90, desrosj, javorszky,
 SergeyBiryukov.
 Fixes #44640, #44941.
 }}}

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


More information about the wp-trac mailing list