#59887 closed defect (bug) (fixed)
The description of the `attributes` key for the parameter `$args` of the `wp_admin_notice` function is omitted.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.4 |
Component: | Administration | Keywords: | good-first-bug has-patch commit |
Focuses: | docs | Cc: |
Description (last modified by )
The description of the parameter $args
in the wp_get_admin_notice
function has the contents of the attributes
key, but the wp_admin_notice
function does not.
* @type string[] $attributes Optional. Additional attributes for the notice div. Default empty array.
The parameters of these two functions are common and should be unified.
Change History (7)
#1
@
10 months ago
- Component changed from General to Administration
- Description modified (diff)
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to 6.5
- Summary changed from The description of the `attribute` key for the parameter $args of the wp_admin_notice function is omitted. to The description of the `attributes` key for the parameter `$args` of the `wp_admin_notice` function is omitted.
- Type changed from feature request to defect (bug)
This ticket was mentioned in PR #5666 on WordPress/wordpress-develop by @ashrafulsarkar.
10 months ago
#3
- Keywords has-patch added; needs-patch removed
@SergeyBiryukov commented on PR #5666:
9 days ago
#7
Thanks for the PR! Looks like this was merged in r57279.
Note: See
TracTickets for help on using
tickets.
attributes
key description added into wp_admin_notice function.Trac ticket: #59887