[wp-trac] [WordPress Trac] #44941: Support `warning` and `info` type notices in settings errors
WordPress Trac
noreply at wordpress.org
Thu Sep 13 18:57:49 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 2nd-opinion needs-testing | Focuses:
| administration
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: has-patch => has-patch 2nd-opinion needs-testing
Comment:
[attachment:"44941.diff"] uses `.settings-error.warning` and `.settings-
error.info` to add support for these. The `updated` and `error` notices
are supported with the `div.updated` and `div.error` selectors, but adding
`div.warning` and `div.info` to core would probably result in plugin and
theme elements unintentionally being styled.
If the `div` selectors are preferred, that could maybe go into a major
release if accompanied by a `dev-note`, but that doesn't address all
backward compatibility concerns.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44941#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list