#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: | tmatsuur | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.5 |
| Component: | Administration | Version: | 6.4 |
| Severity: | normal | Keywords: | good-first-bug has-patch commit |
| Cc: | Focuses: | docs |
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
@
3 years ago
- Component General → Administration
- Description modified (diff)
- Keywords needs-patch good-first-bug added
- Milestone Awaiting Review → 6.5
- Summary The description of the `attribute` key for the parameter $args of the wp_admin_notice function is omitted. → The description of the `attributes` key for the parameter `$args` of the `wp_admin_notice` function is omitted.
- Type feature request → defect (bug)
This ticket was mentioned in PR #5666 on WordPress/wordpress-develop by @ashrafulsarkar.
3 years ago
#3
- Keywords has-patch added; needs-patch removed
@SergeyBiryukov commented on PR #5666:
2 years ago
#7
Thanks for the PR! Looks like this was merged in r57279.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
attributeskey description added into wp_admin_notice function.Trac ticket: #59887