[wp-trac] [WordPress Trac] #59887: The description of the `attribute` key for the parameter $args of the wp_admin_notice function is omitted.

WordPress Trac noreply at wordpress.org
Sat Nov 11 02:51:29 UTC 2023


#59887: The description of the `attribute` key for the parameter $args of the
wp_admin_notice function is omitted.
-----------------------------+-----------------------------
 Reporter:  tmatsuur         |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  6.4
 Severity:  normal           |   Keywords:
  Focuses:  docs             |
-----------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59887>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list