[wp-trac] [WordPress Trac] #57791: Create function to output admin notices
WordPress Trac
noreply at wordpress.org
Mon Sep 18 00:28:39 UTC 2023
#57791: Create function to output admin notices
-------------------------------------------------+-------------------------
Reporter: joedolson | Owner: joedolson
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.4
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests dev- | Focuses:
feedback | administration
-------------------------------------------------+-------------------------
Comment (by joedolson):
In [changeset:"56603" 56603]:
{{{
#!CommitTicketReference repository="" revision="56603"
Administration: Add support for attributes in `wp_admin_notice()`.
Allow admin notices to be created with additional attributes. Test
attributes include `hidden`, `data-*`, and `role="*"` values, which are
all in use in various admin notices across core.
This commit adds `aria-live` and `hidden` to the KSES global attributes
array to support core usages.
Follow up to [56408], [56409], [56410], [56518], [56570], [56571],
[56572], [56573], [56576], [56589], [56590], [56597], [56599], [56600],
[56601], [56602].
Props costdev, joedolson.
See #57791.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57791#comment:77>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list