[wp-trac] [WordPress Trac] #44640: Use current `.notice` CSS classes for settings errors
WordPress Trac
noreply at wordpress.org
Wed Jul 25 11:08:15 UTC 2018
#44640: Use current `.notice` CSS classes for settings errors
----------------------------+-----------------------------
Reporter: flixos90 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords: 2nd-opinion
Focuses: |
----------------------------+-----------------------------
The CSS classes `error` and `updated` for settings errors are legacy, as
numerous releases ago more proper classes `notice`, `notice-success`,
`notice-error` etc. were introduced. However, the `settings_errors()`
function still prints divs with the old classes.
We should consider adjusting that for consistency:
* Map `updated` to `notice-success`.
* Map `error` to `notice-error`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44640>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list