[wp-trac] [WordPress Trac] #59830: Administration: Typos in `wp_admin_notice()` arguments

WordPress Trac noreply at wordpress.org
Wed Nov 8 06:22:17 UTC 2023


#59830: Administration: Typos in `wp_admin_notice()` arguments
----------------------------+-----------------------------
 Reporter:  dlh             |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  6.4
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 A few of the calls to the new `wp_admin_notice()` function appear to have
 typos in their argument arrays:

 * Two instances of `additonal_classes` instead of `additional`.
 * One instance of `is-dismissible` instead of `dismissible`.

 Two of these three seem pretty unlikely to be encountered by most users in
 their daily work, but one of the instances of `additonal` occurs in
 `update_nag()`, making the notification for updating core appear somewhat
 diminished.

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


More information about the wp-trac mailing list