Docs: Improve `wp_admin_notice()` function docblock.
This changeset adds a description for the `attributes` key of `$args` in `wp_admin_notice()`. Props tmatsuur. Fixes #59887. Built from https://develop.svn.wordpress.org/trunk@57279 git-svn-id: http://core.svn.wordpress.org/trunk@56785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
41fe45ced7
commit
855c1b55d6
|
@ -8876,6 +8876,7 @@ function wp_get_admin_notice( $message, $args = array() ) {
|
|||
* @type bool $dismissible Optional. Whether the admin notice is dismissible. Default false.
|
||||
* @type string $id Optional. The value of the admin notice's ID attribute. Default empty string.
|
||||
* @type string[] $additional_classes Optional. A string array of class names. Default empty array.
|
||||
* @type string[] $attributes Optional. Additional attributes for the notice div. Default empty array.
|
||||
* @type bool $paragraph_wrap Optional. Whether to wrap the message in paragraph tags. Default true.
|
||||
* }
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57278';
|
||||
$wp_version = '6.5-alpha-57279';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue