Make WordPress Core

Changeset 57279


Ignore:
Timestamp:
01/14/2024 08:40:59 AM (4 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r57239 r57279  
    88778877 *     @type string   $id                 Optional. The value of the admin notice's ID attribute. Default empty string.
    88788878 *     @type string[] $additional_classes Optional. A string array of class names. Default empty array.
     8879 *     @type string[] $attributes         Optional. Additional attributes for the notice div. Default empty array.
    88798880 *     @type bool     $paragraph_wrap     Optional. Whether to wrap the message in paragraph tags. Default true.
    88808881 * }
Note: See TracChangeset for help on using the changeset viewer.