[wp-trac] [WordPress Trac] #44941: Support `warning` and `info` type notices in settings errors
WordPress Trac
noreply at wordpress.org
Thu Aug 22 00:21:59 UTC 2019
#44941: Support `warning` and `info` type notices in settings errors
-------------------------------------------------+-------------------------
Reporter: desrosj | Owner:
| SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots needs-dev-note | Focuses:
needs-patch | administration
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"45873" 45873]:
{{{
#!CommitTicketReference repository="" revision="45873"
Administration: Adjust [45814] to address a backward compatibility issue
for plugins passing multiple CSS classes to `add_settings_error()`.
Only add the `notice-` prefix for `error`, `success`, `warning`, `info`
CSS classes, keep other classes as is.
Add unit tests for `settings_errors()`.
Props afercia, SergeyBiryukov.
Fixes #44941.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44941#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list